vk · Structs · R4
7 public declarations with native signatures and source-owned contracts.
Stvk::RenderPassTransformBeginInfoQCOM
Contract
Native structure VkRenderPassTransformBeginInfoQCOM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
transform
transform: SurfaceTransformFlagBitsKHRNative field transform.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_transform
Set native field transform 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::ResolveImageFlagBitsKHR
Contract
Open integer representation of VkResolveImageFlagBitsKHR.
Fields
0
0: u32Methods and associated items
SKIP_TRANSFER_FUNCTION_BIT_KHR
Native value VK_RESOLVE_IMAGE_SKIP_TRANSFER_FUNCTION_BIT_KHR.
Khronos reference: VK_RESOLVE_IMAGE_SKIP_TRANSFER_FUNCTION_BIT_KHR
ENABLE_TRANSFER_FUNCTION_BIT_KHR
Native value VK_RESOLVE_IMAGE_ENABLE_TRANSFER_FUNCTION_BIT_KHR.
Khronos reference: VK_RESOLVE_IMAGE_ENABLE_TRANSFER_FUNCTION_BIT_KHR
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::ResolveImageInfo2
Contract
Native structure VkResolveImageInfo2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_image
src_image: ImageNative field srcImage.
src_image_layout
src_image_layout: ImageLayoutNative field srcImageLayout.
dst_image
dst_image: ImageNative field dstImage.
dst_image_layout
dst_image_layout: ImageLayoutNative field dstImageLayout.
region_count
region_count: u32Native field regionCount.
p_regions
p_regions: *const ImageResolve2<'a>Native field pRegions.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_image
Set native field srcImage without native effects.
set_src_image_layout
Set native field srcImageLayout without native effects.
set_dst_image
Set native field dstImage without native effects.
set_dst_image_layout
Set native field dstImageLayout without native effects.
set_region_count
Set native count regionCount directly without checking associated pointer extents.
Use the borrowed array helpers to derive matching storage and counts together.
Direct count edits support null-query/dynamic-state paths and remain a
native-call validity obligation, including after earlier borrowed setters.
set_regions
Borrow pRegions and set checked native count regionCount.
The borrow covers this storage only; nested raw pointers, format, alignment
and asynchronous retention remain native-call obligations.
Output storage must be initialized; returned sizes do not enlarge its capacity.
Errors
Returns a construction error if the length exceeds the native count width.
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::ResolveImageModeInfoKHR
Contract
Native structure VkResolveImageModeInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: ResolveImageFlagsKHRNative field flags.
resolve_mode
resolve_mode: ResolveModeFlagBitsNative field resolveMode.
stencil_resolve_mode
stencil_resolve_mode: ResolveModeFlagBitsNative field stencilResolveMode.
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_resolve_mode
Set native field resolveMode without native effects.
set_stencil_resolve_mode
Set native field stencilResolveMode 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::ResolveModeFlagBits
Contract
Open integer representation of VkResolveModeFlagBits.
Fields
0
0: u32Methods and associated items
NONE
Native value VK_RESOLVE_MODE_NONE.
SAMPLE_ZERO_BIT
Native value VK_RESOLVE_MODE_SAMPLE_ZERO_BIT.
AVERAGE_BIT
Native value VK_RESOLVE_MODE_AVERAGE_BIT.
MIN_BIT
Native value VK_RESOLVE_MODE_MIN_BIT.
MAX_BIT
Native value VK_RESOLVE_MODE_MAX_BIT.
NONE_KHR
Native value VK_RESOLVE_MODE_NONE_KHR.
SAMPLE_ZERO_BIT_KHR
Native value VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR.
AVERAGE_BIT_KHR
Native value VK_RESOLVE_MODE_AVERAGE_BIT_KHR.
MIN_BIT_KHR
Native value VK_RESOLVE_MODE_MIN_BIT_KHR.
MAX_BIT_KHR
Native value VK_RESOLVE_MODE_MAX_BIT_KHR.
EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID
Native value VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID.
Khronos reference: VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID
EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID
Native value VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID.
Khronos reference: VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID
CUSTOM_BIT_EXT
Native value VK_RESOLVE_MODE_CUSTOM_BIT_EXT.
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::ResourceDescriptorInfoEXT
Contract
Native structure VkResourceDescriptorInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
type
type: DescriptorTypeNative field type.
data
data: ResourceDescriptorDataEXT<'a>Native field data.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_type
Set native field type without native effects.
set_data
Set native field data 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::Result
Contract
Open integer representation of VkResult.
Fields
0
0: i32Methods and associated items
SUCCESS
Native value VK_SUCCESS.
NOT_READY
Native value VK_NOT_READY.
TIMEOUT
Native value VK_TIMEOUT.
EVENT_SET
Native value VK_EVENT_SET.
EVENT_RESET
Native value VK_EVENT_RESET.
INCOMPLETE
Native value VK_INCOMPLETE.
ERROR_OUT_OF_HOST_MEMORY
Native value VK_ERROR_OUT_OF_HOST_MEMORY.
ERROR_OUT_OF_DEVICE_MEMORY
Native value VK_ERROR_OUT_OF_DEVICE_MEMORY.
ERROR_INITIALIZATION_FAILED
Native value VK_ERROR_INITIALIZATION_FAILED.
ERROR_DEVICE_LOST
Native value VK_ERROR_DEVICE_LOST.
ERROR_MEMORY_MAP_FAILED
Native value VK_ERROR_MEMORY_MAP_FAILED.
ERROR_LAYER_NOT_PRESENT
Native value VK_ERROR_LAYER_NOT_PRESENT.
ERROR_EXTENSION_NOT_PRESENT
Native value VK_ERROR_EXTENSION_NOT_PRESENT.
ERROR_FEATURE_NOT_PRESENT
Native value VK_ERROR_FEATURE_NOT_PRESENT.
ERROR_INCOMPATIBLE_DRIVER
Native value VK_ERROR_INCOMPATIBLE_DRIVER.
ERROR_TOO_MANY_OBJECTS
Native value VK_ERROR_TOO_MANY_OBJECTS.
ERROR_FORMAT_NOT_SUPPORTED
Native value VK_ERROR_FORMAT_NOT_SUPPORTED.
ERROR_FRAGMENTED_POOL
Native value VK_ERROR_FRAGMENTED_POOL.
ERROR_UNKNOWN
Native value VK_ERROR_UNKNOWN.
ERROR_VALIDATION_FAILED
Native value VK_ERROR_VALIDATION_FAILED.
ERROR_OUT_OF_POOL_MEMORY
Native value VK_ERROR_OUT_OF_POOL_MEMORY.
ERROR_INVALID_EXTERNAL_HANDLE
Native value VK_ERROR_INVALID_EXTERNAL_HANDLE.
ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS
Native value VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS.
ERROR_FRAGMENTATION
Native value VK_ERROR_FRAGMENTATION.
PIPELINE_COMPILE_REQUIRED
Native value VK_PIPELINE_COMPILE_REQUIRED.
ERROR_NOT_PERMITTED
Native value VK_ERROR_NOT_PERMITTED.
ERROR_SURFACE_LOST_KHR
Native value VK_ERROR_SURFACE_LOST_KHR.
ERROR_NATIVE_WINDOW_IN_USE_KHR
Native value VK_ERROR_NATIVE_WINDOW_IN_USE_KHR.
SUBOPTIMAL_KHR
Native value VK_SUBOPTIMAL_KHR.
ERROR_OUT_OF_DATE_KHR
Native value VK_ERROR_OUT_OF_DATE_KHR.
ERROR_INCOMPATIBLE_DISPLAY_KHR
Native value VK_ERROR_INCOMPATIBLE_DISPLAY_KHR.
ERROR_VALIDATION_FAILED_EXT
Native value VK_ERROR_VALIDATION_FAILED_EXT.
ERROR_INVALID_SHADER_NV
Native value VK_ERROR_INVALID_SHADER_NV.
ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR
Native value VK_ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR.
ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR
Native value VK_ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR.
Khronos reference: VK_ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR
ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR
Native value VK_ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR.
Khronos reference: VK_ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR
ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR
Native value VK_ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR.
Khronos reference: VK_ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR
ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR
Native value VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR.
Khronos reference: VK_ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR
ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR
Native value VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR.
Khronos reference: VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR
ERROR_OUT_OF_POOL_MEMORY_KHR
Native value VK_ERROR_OUT_OF_POOL_MEMORY_KHR.
ERROR_INVALID_EXTERNAL_HANDLE_KHR
Native value VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR.
ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT
Native value VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT.
Khronos reference: VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT
ERROR_FRAGMENTATION_EXT
Native value VK_ERROR_FRAGMENTATION_EXT.
ERROR_NOT_PERMITTED_EXT
Native value VK_ERROR_NOT_PERMITTED_EXT.
ERROR_NOT_PERMITTED_KHR
Native value VK_ERROR_NOT_PERMITTED_KHR.
ERROR_PRESENT_TIMING_QUEUE_FULL_EXT
Native value VK_ERROR_PRESENT_TIMING_QUEUE_FULL_EXT.
ERROR_INVALID_DEVICE_ADDRESS_EXT
Native value VK_ERROR_INVALID_DEVICE_ADDRESS_EXT.
ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT
Native value VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT.
Khronos reference: VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT
ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR
Native value VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR.
Khronos reference: VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR
THREAD_IDLE_KHR
Native value VK_THREAD_IDLE_KHR.
THREAD_DONE_KHR
Native value VK_THREAD_DONE_KHR.
OPERATION_DEFERRED_KHR
Native value VK_OPERATION_DEFERRED_KHR.
OPERATION_NOT_DEFERRED_KHR
Native value VK_OPERATION_NOT_DEFERRED_KHR.
PIPELINE_COMPILE_REQUIRED_EXT
Native value VK_PIPELINE_COMPILE_REQUIRED_EXT.
ERROR_PIPELINE_COMPILE_REQUIRED_EXT
Native value VK_ERROR_PIPELINE_COMPILE_REQUIRED_EXT.
ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR
Native value VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR.
Khronos reference: VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR
ERROR_COMPRESSION_EXHAUSTED_EXT
Native value VK_ERROR_COMPRESSION_EXHAUSTED_EXT.
INCOMPATIBLE_SHADER_BINARY_EXT
Native value VK_INCOMPATIBLE_SHADER_BINARY_EXT.
ERROR_INCOMPATIBLE_SHADER_BINARY_EXT
Native value VK_ERROR_INCOMPATIBLE_SHADER_BINARY_EXT.
PIPELINE_BINARY_MISSING_KHR
Native value VK_PIPELINE_BINARY_MISSING_KHR.
ERROR_NOT_ENOUGH_SPACE_KHR
Native value VK_ERROR_NOT_ENOUGH_SPACE_KHR.
from_raw
as_raw
empty
is_success
is_err
clone
fmt
default
from
Lift a non-success VkResult into a CallError.
Callers that only expect VK_SUCCESS can use ? on a vk::Result once
it is inside a Result<_, CallError> context.
hash
eq
self and other values to be equal, and is used by ==.