vk · Structs · S16
16 public declarations with native signatures and source-owned contracts.
Stvk::SubpassEndInfo
Contract
Native structure VkSubpassEndInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
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::SubpassMergeStatusEXT
Contract
Open integer representation of VkSubpassMergeStatusEXT.
Fields
0
0: i32Methods and associated items
MERGED_EXT
Native value VK_SUBPASS_MERGE_STATUS_MERGED_EXT.
DISALLOWED_EXT
Native value VK_SUBPASS_MERGE_STATUS_DISALLOWED_EXT.
NOT_MERGED_SIDE_EFFECTS_EXT
Native value VK_SUBPASS_MERGE_STATUS_NOT_MERGED_SIDE_EFFECTS_EXT.
Khronos reference: VK_SUBPASS_MERGE_STATUS_NOT_MERGED_SIDE_EFFECTS_EXT
NOT_MERGED_SAMPLES_MISMATCH_EXT
Native value VK_SUBPASS_MERGE_STATUS_NOT_MERGED_SAMPLES_MISMATCH_EXT.
Khronos reference: VK_SUBPASS_MERGE_STATUS_NOT_MERGED_SAMPLES_MISMATCH_EXT
NOT_MERGED_VIEWS_MISMATCH_EXT
Native value VK_SUBPASS_MERGE_STATUS_NOT_MERGED_VIEWS_MISMATCH_EXT.
Khronos reference: VK_SUBPASS_MERGE_STATUS_NOT_MERGED_VIEWS_MISMATCH_EXT
NOT_MERGED_ALIASING_EXT
Native value VK_SUBPASS_MERGE_STATUS_NOT_MERGED_ALIASING_EXT.
Khronos reference: VK_SUBPASS_MERGE_STATUS_NOT_MERGED_ALIASING_EXT
NOT_MERGED_DEPENDENCIES_EXT
Native value VK_SUBPASS_MERGE_STATUS_NOT_MERGED_DEPENDENCIES_EXT.
Khronos reference: VK_SUBPASS_MERGE_STATUS_NOT_MERGED_DEPENDENCIES_EXT
NOT_MERGED_INCOMPATIBLE_INPUT_ATTACHMENT_EXT
Native value VK_SUBPASS_MERGE_STATUS_NOT_MERGED_INCOMPATIBLE_INPUT_ATTACHMENT_EXT.
Khronos reference: VK_SUBPASS_MERGE_STATUS_NOT_MERGED_INCOMPATIBLE_INPUT_ATTACHMENT_EXT
NOT_MERGED_TOO_MANY_ATTACHMENTS_EXT
Native value VK_SUBPASS_MERGE_STATUS_NOT_MERGED_TOO_MANY_ATTACHMENTS_EXT.
Khronos reference: VK_SUBPASS_MERGE_STATUS_NOT_MERGED_TOO_MANY_ATTACHMENTS_EXT
NOT_MERGED_INSUFFICIENT_STORAGE_EXT
Native value VK_SUBPASS_MERGE_STATUS_NOT_MERGED_INSUFFICIENT_STORAGE_EXT.
Khronos reference: VK_SUBPASS_MERGE_STATUS_NOT_MERGED_INSUFFICIENT_STORAGE_EXT
NOT_MERGED_DEPTH_STENCIL_COUNT_EXT
Native value VK_SUBPASS_MERGE_STATUS_NOT_MERGED_DEPTH_STENCIL_COUNT_EXT.
Khronos reference: VK_SUBPASS_MERGE_STATUS_NOT_MERGED_DEPTH_STENCIL_COUNT_EXT
NOT_MERGED_RESOLVE_ATTACHMENT_REUSE_EXT
Native value VK_SUBPASS_MERGE_STATUS_NOT_MERGED_RESOLVE_ATTACHMENT_REUSE_EXT.
Khronos reference: VK_SUBPASS_MERGE_STATUS_NOT_MERGED_RESOLVE_ATTACHMENT_REUSE_EXT
NOT_MERGED_SINGLE_SUBPASS_EXT
Native value VK_SUBPASS_MERGE_STATUS_NOT_MERGED_SINGLE_SUBPASS_EXT.
Khronos reference: VK_SUBPASS_MERGE_STATUS_NOT_MERGED_SINGLE_SUBPASS_EXT
NOT_MERGED_UNSPECIFIED_EXT
Native value VK_SUBPASS_MERGE_STATUS_NOT_MERGED_UNSPECIFIED_EXT.
Khronos reference: VK_SUBPASS_MERGE_STATUS_NOT_MERGED_UNSPECIFIED_EXT
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::SubpassResolvePerformanceQueryEXT
Contract
Native structure VkSubpassResolvePerformanceQueryEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
optimal
optimal: Bool32Native field optimal.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_optimal
Set native field optimal 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::SubpassSampleLocationsEXT
Contract
Native structure VkSubpassSampleLocationsEXT.
Fields
subpass_index
subpass_index: u32Native field subpassIndex.
sample_locations_info
sample_locations_info: SampleLocationsInfoEXT<'a>Native field sampleLocationsInfo.
Methods and associated items
new
Construct the record with its default native state.
set_subpass_index
Set native field subpassIndex without native effects.
set_sample_locations_info
Set native field sampleLocationsInfo without native effects.
default
Stvk::SubpassShadingPipelineCreateInfoHUAWEI
Contract
Native structure VkSubpassShadingPipelineCreateInfoHUAWEI.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
render_pass
render_pass: RenderPassNative field renderPass.
subpass
subpass: u32Native field subpass.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_render_pass
Set native field renderPass without native effects.
set_subpass
Set native field subpass 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::SubresourceHostMemcpySize
Contract
Native structure VkSubresourceHostMemcpySize.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
size
size: DeviceSizeNative field size.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_size
Set native field size 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::SubresourceLayout
Contract
Native structure VkSubresourceLayout.
Fields
offset
offset: DeviceSizeNative field offset.
size
size: DeviceSizeNative field size.
row_pitch
row_pitch: DeviceSizeNative field rowPitch.
array_pitch
array_pitch: DeviceSizeNative field arrayPitch.
depth_pitch
depth_pitch: DeviceSizeNative field depthPitch.
Methods and associated items
new
Construct the record with its default native state.
set_offset
Set native field offset without native effects.
set_size
Set native field size without native effects.
set_row_pitch
Set native field rowPitch without native effects.
set_array_pitch
Set native field arrayPitch without native effects.
set_depth_pitch
Set native field depthPitch without native effects.
clone
default
Stvk::SubresourceLayout2
Contract
Native structure VkSubresourceLayout2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
subresource_layout
subresource_layout: SubresourceLayoutNative field subresourceLayout.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_subresource_layout
Set native field subresourceLayout 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::SubsampledImageFormatPropertiesEXT
Contract
Native structure VkSubsampledImageFormatPropertiesEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
subsampled_image_descriptor_count
subsampled_image_descriptor_count: u32Native field subsampledImageDescriptorCount.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_subsampled_image_descriptor_count
Set native field subsampledImageDescriptorCount 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::SurfaceCapabilities2EXT
pub struct SurfaceCapabilities2EXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub min_image_count: u32,
pub max_image_count: u32,
pub current_extent: Extent2D,
pub min_image_extent: Extent2D,
pub max_image_extent: Extent2D,
pub max_image_array_layers: u32,
pub supported_transforms: SurfaceTransformFlagsKHR,
pub current_transform: SurfaceTransformFlagBitsKHR,
pub supported_composite_alpha: CompositeAlphaFlagsKHR,
pub supported_usage_flags: ImageUsageFlags,
pub supported_surface_counters: SurfaceCounterFlagsEXT,
/* private fields */
}Contract
Native structure VkSurfaceCapabilities2EXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
min_image_count
min_image_count: u32Native field minImageCount.
max_image_count
max_image_count: u32Native field maxImageCount.
current_extent
current_extent: Extent2DNative field currentExtent.
min_image_extent
min_image_extent: Extent2DNative field minImageExtent.
max_image_extent
max_image_extent: Extent2DNative field maxImageExtent.
max_image_array_layers
max_image_array_layers: u32Native field maxImageArrayLayers.
supported_transforms
supported_transforms: SurfaceTransformFlagsKHRNative field supportedTransforms.
current_transform
current_transform: SurfaceTransformFlagBitsKHRNative field currentTransform.
supported_composite_alpha
supported_composite_alpha: CompositeAlphaFlagsKHRNative field supportedCompositeAlpha.
supported_usage_flags
supported_usage_flags: ImageUsageFlagsNative field supportedUsageFlags.
supported_surface_counters
supported_surface_counters: SurfaceCounterFlagsEXTNative field supportedSurfaceCounters.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_min_image_count
Set native field minImageCount without native effects.
set_max_image_count
Set native field maxImageCount without native effects.
set_current_extent
Set native field currentExtent without native effects.
set_min_image_extent
Set native field minImageExtent without native effects.
set_max_image_extent
Set native field maxImageExtent without native effects.
set_max_image_array_layers
Set native field maxImageArrayLayers without native effects.
set_supported_transforms
Set native field supportedTransforms without native effects.
set_current_transform
Set native field currentTransform without native effects.
set_supported_composite_alpha
Set native field supportedCompositeAlpha without native effects.
set_supported_usage_flags
Set native field supportedUsageFlags without native effects.
set_supported_surface_counters
Set native field supportedSurfaceCounters 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::SurfaceCapabilities2KHR
Contract
Native structure VkSurfaceCapabilities2KHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
surface_capabilities
surface_capabilities: SurfaceCapabilitiesKHRNative field surfaceCapabilities.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_surface_capabilities
Set native field surfaceCapabilities 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::SurfaceCapabilitiesFullScreenExclusiveEXT
Contract
Native structure VkSurfaceCapabilitiesFullScreenExclusiveEXT.
Khronos reference: VkSurfaceCapabilitiesFullScreenExclusiveEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
full_screen_exclusive_supported
full_screen_exclusive_supported: Bool32Native field fullScreenExclusiveSupported.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_full_screen_exclusive_supported
Set native field fullScreenExclusiveSupported 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::SurfaceCapabilitiesKHR
#[repr(C)]pub struct SurfaceCapabilitiesKHR {
pub min_image_count: u32,
pub max_image_count: u32,
pub current_extent: Extent2D,
pub min_image_extent: Extent2D,
pub max_image_extent: Extent2D,
pub max_image_array_layers: u32,
pub supported_transforms: SurfaceTransformFlagsKHR,
pub current_transform: SurfaceTransformFlagBitsKHR,
pub supported_composite_alpha: CompositeAlphaFlagsKHR,
pub supported_usage_flags: ImageUsageFlags,
}Contract
Native structure VkSurfaceCapabilitiesKHR.
Fields
min_image_count
min_image_count: u32Native field minImageCount.
max_image_count
max_image_count: u32Native field maxImageCount.
current_extent
current_extent: Extent2DNative field currentExtent.
min_image_extent
min_image_extent: Extent2DNative field minImageExtent.
max_image_extent
max_image_extent: Extent2DNative field maxImageExtent.
max_image_array_layers
max_image_array_layers: u32Native field maxImageArrayLayers.
supported_transforms
supported_transforms: SurfaceTransformFlagsKHRNative field supportedTransforms.
current_transform
current_transform: SurfaceTransformFlagBitsKHRNative field currentTransform.
supported_composite_alpha
supported_composite_alpha: CompositeAlphaFlagsKHRNative field supportedCompositeAlpha.
supported_usage_flags
supported_usage_flags: ImageUsageFlagsNative field supportedUsageFlags.
Methods and associated items
new
Construct the record with its default native state.
set_min_image_count
Set native field minImageCount without native effects.
set_max_image_count
Set native field maxImageCount without native effects.
set_current_extent
Set native field currentExtent without native effects.
set_min_image_extent
Set native field minImageExtent without native effects.
set_max_image_extent
Set native field maxImageExtent without native effects.
set_max_image_array_layers
Set native field maxImageArrayLayers without native effects.
set_supported_transforms
Set native field supportedTransforms without native effects.
set_current_transform
Set native field currentTransform without native effects.
set_supported_composite_alpha
Set native field supportedCompositeAlpha without native effects.
set_supported_usage_flags
Set native field supportedUsageFlags without native effects.
clone
default
Stvk::SurfaceCapabilitiesPresentBarrierNV
Contract
Native structure VkSurfaceCapabilitiesPresentBarrierNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
present_barrier_supported
present_barrier_supported: Bool32Native field presentBarrierSupported.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_present_barrier_supported
Set native field presentBarrierSupported 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::SurfaceCapabilitiesPresentId2KHR
Contract
Native structure VkSurfaceCapabilitiesPresentId2KHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
present_id2_supported
present_id2_supported: Bool32Native field presentId2Supported.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_present_id2_supported
Set native field presentId2Supported 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::SurfaceCapabilitiesPresentWait2KHR
Contract
Native structure VkSurfaceCapabilitiesPresentWait2KHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
present_wait2_supported
present_wait2_supported: Bool32Native field presentWait2Supported.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_present_wait2_supported
Set native field presentWait2Supported 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.