vk · Structs · I3
16 public declarations with native signatures and source-owned contracts.
Stvk::ImageMemoryRequirementsInfo2
Contract
Native structure VkImageMemoryRequirementsInfo2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
image
image: ImageNative field image.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_image
Set native field image without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::ImagePipeSurfaceCreateFlagsFUCHSIA
Contract
Open integer representation of VkImagePipeSurfaceCreateFlagsFUCHSIA.
Fields
0
0: u32Methods and associated items
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::ImagePipeSurfaceCreateInfoFUCHSIA
Contract
Native structure VkImagePipeSurfaceCreateInfoFUCHSIA.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: ImagePipeSurfaceCreateFlagsFUCHSIANative field flags.
image_pipe_handle
image_pipe_handle: zx_handle_tNative field imagePipeHandle.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_flags
Set native field flags without native effects.
set_image_pipe_handle
Set native field imagePipeHandle without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::ImagePlaneMemoryRequirementsInfo
Contract
Native structure VkImagePlaneMemoryRequirementsInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
plane_aspect
plane_aspect: ImageAspectFlagBitsNative field planeAspect.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_plane_aspect
Set native field planeAspect without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::ImageResolve
Contract
Native structure VkImageResolve.
Fields
src_subresource
src_subresource: ImageSubresourceLayersNative field srcSubresource.
src_offset
src_offset: Offset3DNative field srcOffset.
dst_subresource
dst_subresource: ImageSubresourceLayersNative field dstSubresource.
dst_offset
dst_offset: Offset3DNative field dstOffset.
extent
extent: Extent3DNative field extent.
Methods and associated items
new
Construct the record with its default native state.
set_src_subresource
Set native field srcSubresource without native effects.
set_src_offset
Set native field srcOffset without native effects.
set_dst_subresource
Set native field dstSubresource without native effects.
set_dst_offset
Set native field dstOffset without native effects.
set_extent
Set native field extent without native effects.
clone
default
Stvk::ImageResolve2
Contract
Native structure VkImageResolve2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_subresource
src_subresource: ImageSubresourceLayersNative field srcSubresource.
src_offset
src_offset: Offset3DNative field srcOffset.
dst_subresource
dst_subresource: ImageSubresourceLayersNative field dstSubresource.
dst_offset
dst_offset: Offset3DNative field dstOffset.
extent
extent: Extent3DNative field extent.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_subresource
Set native field srcSubresource without native effects.
set_src_offset
Set native field srcOffset without native effects.
set_dst_subresource
Set native field dstSubresource without native effects.
set_dst_offset
Set native field dstOffset without native effects.
set_extent
Set native field extent without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::ImageSparseMemoryRequirementsInfo2
Contract
Native structure VkImageSparseMemoryRequirementsInfo2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
image
image: ImageNative field image.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_image
Set native field image without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::ImageStencilUsage2CreateInfoKHR
Contract
Native structure VkImageStencilUsage2CreateInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
stencil_usage
stencil_usage: ImageUsageFlags2KHRNative field stencilUsage.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_stencil_usage
Set native field stencilUsage without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::ImageStencilUsageCreateInfo
Contract
Native structure VkImageStencilUsageCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
stencil_usage
stencil_usage: ImageUsageFlagsNative field stencilUsage.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_stencil_usage
Set native field stencilUsage without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::ImageSubresource
Contract
Native structure VkImageSubresource.
Fields
aspect_mask
aspect_mask: ImageAspectFlagsNative field aspectMask.
mip_level
mip_level: u32Native field mipLevel.
array_layer
array_layer: u32Native field arrayLayer.
Methods and associated items
new
Construct the record with its default native state.
set_aspect_mask
Set native field aspectMask without native effects.
set_mip_level
Set native field mipLevel without native effects.
set_array_layer
Set native field arrayLayer without native effects.
clone
default
Stvk::ImageSubresource2
Contract
Native structure VkImageSubresource2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
image_subresource
image_subresource: ImageSubresourceNative field imageSubresource.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_image_subresource
Set native field imageSubresource without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::ImageSubresourceLayers
Contract
Native structure VkImageSubresourceLayers.
Fields
aspect_mask
aspect_mask: ImageAspectFlagsNative field aspectMask.
mip_level
mip_level: u32Native field mipLevel.
base_array_layer
base_array_layer: u32Native field baseArrayLayer.
layer_count
layer_count: u32Native field layerCount.
Methods and associated items
new
Construct the record with its default native state.
set_aspect_mask
Set native field aspectMask without native effects.
set_mip_level
Set native field mipLevel without native effects.
set_base_array_layer
Set native field baseArrayLayer without native effects.
set_layer_count
Set native field layerCount without native effects.
clone
default
Stvk::ImageSubresourceRange
Contract
Native structure VkImageSubresourceRange.
Fields
aspect_mask
aspect_mask: ImageAspectFlagsNative field aspectMask.
base_mip_level
base_mip_level: u32Native field baseMipLevel.
level_count
level_count: u32Native field levelCount.
base_array_layer
base_array_layer: u32Native field baseArrayLayer.
layer_count
layer_count: u32Native field layerCount.
Methods and associated items
new
Construct the record with its default native state.
set_aspect_mask
Set native field aspectMask without native effects.
set_base_mip_level
Set native field baseMipLevel without native effects.
set_level_count
Set native field levelCount without native effects.
set_base_array_layer
Set native field baseArrayLayer without native effects.
set_layer_count
Set native field layerCount without native effects.
clone
default
Stvk::ImageSwapchainCreateInfoKHR
Contract
Native structure VkImageSwapchainCreateInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
swapchain
swapchain: SwapchainKHRNative field swapchain.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_swapchain
Set native field swapchain without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.
default
Stvk::ImageTiling
Contract
Open integer representation of VkImageTiling.
Fields
0
0: i32Methods and associated items
OPTIMAL
Native value VK_IMAGE_TILING_OPTIMAL.
LINEAR
Native value VK_IMAGE_TILING_LINEAR.
DRM_FORMAT_MODIFIER_EXT
Native value VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::ImageTilingControlCreateInfoEXT
Contract
Native structure VkImageTilingControlCreateInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
tiling_control
tiling_control: ImageTilingControlEXTNative field tilingControl.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_tiling_control
Set native field tilingControl without native effects.
push_next
Prepend one registry-compatible node, retaining its exclusive borrow.
The node must have a null p_next and both headers must have canonical tags.
Existing links are never traversed and remain written after the borrow ends.
Type compatibility does not establish enabled extensions or Vulkan valid usage.
Errors
Returns a construction error for a changed structure tag or already-linked node.