vk · Structs · P28
16 public declarations with native signatures and source-owned contracts.
Stvk::PhysicalDeviceTextureCompressionASTCHDRFeatures
Contract
Native structure VkPhysicalDeviceTextureCompressionASTCHDRFeatures.
Khronos reference: VkPhysicalDeviceTextureCompressionASTCHDRFeatures
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
texture_compression_astc_hdr
texture_compression_astc_hdr: Bool32Native field textureCompressionASTC_HDR.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_texture_compression_astc_hdr
Set native field textureCompressionASTC_HDR 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::PhysicalDeviceThrottleHintFeaturesSEC
Contract
Native structure VkPhysicalDeviceThrottleHintFeaturesSEC.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
throttle_hint
throttle_hint: Bool32Native field throttleHint.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_throttle_hint
Set native field throttleHint 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::PhysicalDeviceTileMemoryHeapFeaturesQCOM
Contract
Native structure VkPhysicalDeviceTileMemoryHeapFeaturesQCOM.
Khronos reference: VkPhysicalDeviceTileMemoryHeapFeaturesQCOM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
tile_memory_heap
tile_memory_heap: Bool32Native field tileMemoryHeap.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_tile_memory_heap
Set native field tileMemoryHeap 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::PhysicalDeviceTileMemoryHeapPropertiesQCOM
Contract
Native structure VkPhysicalDeviceTileMemoryHeapPropertiesQCOM.
Khronos reference: VkPhysicalDeviceTileMemoryHeapPropertiesQCOM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
queue_submit_boundary
queue_submit_boundary: Bool32Native field queueSubmitBoundary.
tile_buffer_transfers
tile_buffer_transfers: Bool32Native field tileBufferTransfers.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_queue_submit_boundary
Set native field queueSubmitBoundary without native effects.
set_tile_buffer_transfers
Set native field tileBufferTransfers 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::PhysicalDeviceTilePropertiesFeaturesQCOM
Contract
Native structure VkPhysicalDeviceTilePropertiesFeaturesQCOM.
Khronos reference: VkPhysicalDeviceTilePropertiesFeaturesQCOM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
tile_properties
tile_properties: Bool32Native field tileProperties.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_tile_properties
Set native field tileProperties 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::PhysicalDeviceTileShadingFeaturesQCOM
pub struct PhysicalDeviceTileShadingFeaturesQCOM<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub tile_shading: Bool32,
pub tile_shading_fragment_stage: Bool32,
pub tile_shading_color_attachments: Bool32,
pub tile_shading_depth_attachments: Bool32,
pub tile_shading_stencil_attachments: Bool32,
pub tile_shading_input_attachments: Bool32,
pub tile_shading_sampled_attachments: Bool32,
pub tile_shading_per_tile_draw: Bool32,
pub tile_shading_per_tile_dispatch: Bool32,
pub tile_shading_dispatch_tile: Bool32,
pub tile_shading_apron: Bool32,
pub tile_shading_anisotropic_apron: Bool32,
pub tile_shading_atomic_ops: Bool32,
pub tile_shading_image_processing: Bool32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceTileShadingFeaturesQCOM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
tile_shading
tile_shading: Bool32Native field tileShading.
tile_shading_fragment_stage
tile_shading_fragment_stage: Bool32Native field tileShadingFragmentStage.
tile_shading_color_attachments
tile_shading_color_attachments: Bool32Native field tileShadingColorAttachments.
tile_shading_depth_attachments
tile_shading_depth_attachments: Bool32Native field tileShadingDepthAttachments.
tile_shading_stencil_attachments
tile_shading_stencil_attachments: Bool32Native field tileShadingStencilAttachments.
tile_shading_input_attachments
tile_shading_input_attachments: Bool32Native field tileShadingInputAttachments.
tile_shading_sampled_attachments
tile_shading_sampled_attachments: Bool32Native field tileShadingSampledAttachments.
tile_shading_per_tile_draw
tile_shading_per_tile_draw: Bool32Native field tileShadingPerTileDraw.
tile_shading_per_tile_dispatch
tile_shading_per_tile_dispatch: Bool32Native field tileShadingPerTileDispatch.
tile_shading_dispatch_tile
tile_shading_dispatch_tile: Bool32Native field tileShadingDispatchTile.
tile_shading_apron
tile_shading_apron: Bool32Native field tileShadingApron.
tile_shading_anisotropic_apron
tile_shading_anisotropic_apron: Bool32Native field tileShadingAnisotropicApron.
tile_shading_atomic_ops
tile_shading_atomic_ops: Bool32Native field tileShadingAtomicOps.
tile_shading_image_processing
tile_shading_image_processing: Bool32Native field tileShadingImageProcessing.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_tile_shading
Set native field tileShading without native effects.
set_tile_shading_fragment_stage
Set native field tileShadingFragmentStage without native effects.
set_tile_shading_color_attachments
Set native field tileShadingColorAttachments without native effects.
set_tile_shading_depth_attachments
Set native field tileShadingDepthAttachments without native effects.
set_tile_shading_stencil_attachments
Set native field tileShadingStencilAttachments without native effects.
set_tile_shading_input_attachments
Set native field tileShadingInputAttachments without native effects.
set_tile_shading_sampled_attachments
Set native field tileShadingSampledAttachments without native effects.
set_tile_shading_per_tile_draw
Set native field tileShadingPerTileDraw without native effects.
set_tile_shading_per_tile_dispatch
Set native field tileShadingPerTileDispatch without native effects.
set_tile_shading_dispatch_tile
Set native field tileShadingDispatchTile without native effects.
set_tile_shading_apron
Set native field tileShadingApron without native effects.
set_tile_shading_anisotropic_apron
Set native field tileShadingAnisotropicApron without native effects.
set_tile_shading_atomic_ops
Set native field tileShadingAtomicOps without native effects.
set_tile_shading_image_processing
Set native field tileShadingImageProcessing 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::PhysicalDeviceTileShadingPropertiesQCOM
Contract
Native structure VkPhysicalDeviceTileShadingPropertiesQCOM.
Khronos reference: VkPhysicalDeviceTileShadingPropertiesQCOM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_apron_size
max_apron_size: u32Native field maxApronSize.
prefer_non_coherent
prefer_non_coherent: Bool32Native field preferNonCoherent.
tile_granularity
tile_granularity: Extent2DNative field tileGranularity.
max_tile_shading_rate
max_tile_shading_rate: Extent2DNative field maxTileShadingRate.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_apron_size
Set native field maxApronSize without native effects.
set_prefer_non_coherent
Set native field preferNonCoherent without native effects.
set_tile_granularity
Set native field tileGranularity without native effects.
set_max_tile_shading_rate
Set native field maxTileShadingRate 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::PhysicalDeviceTimelineSemaphoreFeatures
Contract
Native structure VkPhysicalDeviceTimelineSemaphoreFeatures.
Khronos reference: VkPhysicalDeviceTimelineSemaphoreFeatures
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
timeline_semaphore
timeline_semaphore: Bool32Native field timelineSemaphore.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_timeline_semaphore
Set native field timelineSemaphore 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::PhysicalDeviceTimelineSemaphoreProperties
Contract
Native structure VkPhysicalDeviceTimelineSemaphoreProperties.
Khronos reference: VkPhysicalDeviceTimelineSemaphoreProperties
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_timeline_semaphore_value_difference
max_timeline_semaphore_value_difference: u64Native field maxTimelineSemaphoreValueDifference.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_timeline_semaphore_value_difference
Set native field maxTimelineSemaphoreValueDifference 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::PhysicalDeviceToolProperties
Contract
Native structure VkPhysicalDeviceToolProperties.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
name
name: [c_char; 256]Native field name.
version
version: [c_char; 256]Native field version.
purposes
purposes: ToolPurposeFlagsNative field purposes.
description
description: [c_char; 256]Native field description.
layer
layer: [c_char; 256]Native field layer.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_name
Set native field name without native effects.
set_version
Set native field version without native effects.
set_purposes
Set native field purposes without native effects.
set_description
Set native field description without native effects.
set_layer
Set native field layer 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::PhysicalDeviceTransformFeedbackFeaturesEXT
Contract
Native structure VkPhysicalDeviceTransformFeedbackFeaturesEXT.
Khronos reference: VkPhysicalDeviceTransformFeedbackFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
transform_feedback
transform_feedback: Bool32Native field transformFeedback.
geometry_streams
geometry_streams: Bool32Native field geometryStreams.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_transform_feedback
Set native field transformFeedback without native effects.
set_geometry_streams
Set native field geometryStreams 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::PhysicalDeviceTransformFeedbackPropertiesEXT
pub struct PhysicalDeviceTransformFeedbackPropertiesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub max_transform_feedback_streams: u32,
pub max_transform_feedback_buffers: u32,
pub max_transform_feedback_buffer_size: DeviceSize,
pub max_transform_feedback_stream_data_size: u32,
pub max_transform_feedback_buffer_data_size: u32,
pub max_transform_feedback_buffer_data_stride: u32,
pub transform_feedback_queries: Bool32,
pub transform_feedback_streams_lines_triangles: Bool32,
pub transform_feedback_rasterization_stream_select: Bool32,
pub transform_feedback_draw: Bool32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceTransformFeedbackPropertiesEXT.
Khronos reference: VkPhysicalDeviceTransformFeedbackPropertiesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_transform_feedback_streams
max_transform_feedback_streams: u32Native field maxTransformFeedbackStreams.
max_transform_feedback_buffers
max_transform_feedback_buffers: u32Native field maxTransformFeedbackBuffers.
max_transform_feedback_buffer_size
max_transform_feedback_buffer_size: DeviceSizeNative field maxTransformFeedbackBufferSize.
max_transform_feedback_stream_data_size
max_transform_feedback_stream_data_size: u32Native field maxTransformFeedbackStreamDataSize.
max_transform_feedback_buffer_data_size
max_transform_feedback_buffer_data_size: u32Native field maxTransformFeedbackBufferDataSize.
max_transform_feedback_buffer_data_stride
max_transform_feedback_buffer_data_stride: u32Native field maxTransformFeedbackBufferDataStride.
transform_feedback_queries
transform_feedback_queries: Bool32Native field transformFeedbackQueries.
transform_feedback_streams_lines_triangles
transform_feedback_streams_lines_triangles: Bool32Native field transformFeedbackStreamsLinesTriangles.
transform_feedback_rasterization_stream_select
transform_feedback_rasterization_stream_select: Bool32Native field transformFeedbackRasterizationStreamSelect.
transform_feedback_draw
transform_feedback_draw: Bool32Native field transformFeedbackDraw.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_transform_feedback_streams
Set native field maxTransformFeedbackStreams without native effects.
set_max_transform_feedback_buffers
Set native field maxTransformFeedbackBuffers without native effects.
set_max_transform_feedback_buffer_size
Set native field maxTransformFeedbackBufferSize without native effects.
set_max_transform_feedback_stream_data_size
Set native field maxTransformFeedbackStreamDataSize without native effects.
set_max_transform_feedback_buffer_data_size
Set native field maxTransformFeedbackBufferDataSize without native effects.
set_max_transform_feedback_buffer_data_stride
Set native field maxTransformFeedbackBufferDataStride without native effects.
set_transform_feedback_queries
Set native field transformFeedbackQueries without native effects.
set_transform_feedback_streams_lines_triangles
Set native field transformFeedbackStreamsLinesTriangles without native effects.
set_transform_feedback_rasterization_stream_select
Set native field transformFeedbackRasterizationStreamSelect without native effects.
set_transform_feedback_draw
Set native field transformFeedbackDraw 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::PhysicalDeviceType
Contract
Open integer representation of VkPhysicalDeviceType.
Fields
0
0: i32Methods and associated items
OTHER
Native value VK_PHYSICAL_DEVICE_TYPE_OTHER.
INTEGRATED_GPU
Native value VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU.
DISCRETE_GPU
Native value VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU.
VIRTUAL_GPU
Native value VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU.
CPU
Native value VK_PHYSICAL_DEVICE_TYPE_CPU.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::PhysicalDeviceUnifiedImageLayoutsFeaturesKHR
Contract
Native structure VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR.
Khronos reference: VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
unified_image_layouts
unified_image_layouts: Bool32Native field unifiedImageLayouts.
unified_image_layouts_video
unified_image_layouts_video: Bool32Native field unifiedImageLayoutsVideo.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_unified_image_layouts
Set native field unifiedImageLayouts without native effects.
set_unified_image_layouts_video
Set native field unifiedImageLayoutsVideo 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::PhysicalDeviceUniformBufferStandardLayoutFeatures
Contract
Native structure VkPhysicalDeviceUniformBufferStandardLayoutFeatures.
Khronos reference: VkPhysicalDeviceUniformBufferStandardLayoutFeatures
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
uniform_buffer_standard_layout
uniform_buffer_standard_layout: Bool32Native field uniformBufferStandardLayout.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_uniform_buffer_standard_layout
Set native field uniformBufferStandardLayout 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::PhysicalDeviceVariablePointersFeatures
Contract
Native structure VkPhysicalDeviceVariablePointersFeatures.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
variable_pointers_storage_buffer
variable_pointers_storage_buffer: Bool32Native field variablePointersStorageBuffer.
variable_pointers
variable_pointers: Bool32Native field variablePointers.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_variable_pointers_storage_buffer
Set native field variablePointersStorageBuffer without native effects.
set_variable_pointers
Set native field variablePointers 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.