vk · Structs · P20
16 public declarations with native signatures and source-owned contracts.
Stvk::PhysicalDevicePresentTimingFeaturesEXT
Contract
Native structure VkPhysicalDevicePresentTimingFeaturesEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
present_timing
present_timing: Bool32Native field presentTiming.
present_at_absolute_time
present_at_absolute_time: Bool32Native field presentAtAbsoluteTime.
present_at_relative_time
present_at_relative_time: Bool32Native field presentAtRelativeTime.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_present_timing
Set native field presentTiming without native effects.
set_present_at_absolute_time
Set native field presentAtAbsoluteTime without native effects.
set_present_at_relative_time
Set native field presentAtRelativeTime 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::PhysicalDevicePresentWait2FeaturesKHR
Contract
Native structure VkPhysicalDevicePresentWait2FeaturesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
present_wait2
present_wait2: Bool32Native field presentWait2.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_present_wait2
Set native field presentWait2 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::PhysicalDevicePresentWaitFeaturesKHR
Contract
Native structure VkPhysicalDevicePresentWaitFeaturesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
present_wait
present_wait: Bool32Native field presentWait.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_present_wait
Set native field presentWait 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::PhysicalDevicePrimitiveRestartIndexFeaturesEXT
Contract
Native structure VkPhysicalDevicePrimitiveRestartIndexFeaturesEXT.
Khronos reference: VkPhysicalDevicePrimitiveRestartIndexFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
primitive_restart_index
primitive_restart_index: Bool32Native field primitiveRestartIndex.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_primitive_restart_index
Set native field primitiveRestartIndex 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::PhysicalDevicePrimitivesGeneratedQueryFeaturesEXT
pub struct PhysicalDevicePrimitivesGeneratedQueryFeaturesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub primitives_generated_query: Bool32,
pub primitives_generated_query_with_rasterizer_discard: Bool32,
pub primitives_generated_query_with_non_zero_streams: Bool32,
/* private fields */
}Contract
Native structure VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT.
Khronos reference: VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
primitives_generated_query
primitives_generated_query: Bool32Native field primitivesGeneratedQuery.
primitives_generated_query_with_rasterizer_discard
primitives_generated_query_with_rasterizer_discard: Bool32Native field primitivesGeneratedQueryWithRasterizerDiscard.
primitives_generated_query_with_non_zero_streams
primitives_generated_query_with_non_zero_streams: Bool32Native field primitivesGeneratedQueryWithNonZeroStreams.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_primitives_generated_query
Set native field primitivesGeneratedQuery without native effects.
set_primitives_generated_query_with_rasterizer_discard
Set native field primitivesGeneratedQueryWithRasterizerDiscard without native effects.
set_primitives_generated_query_with_non_zero_streams
Set native field primitivesGeneratedQueryWithNonZeroStreams 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::PhysicalDevicePrimitiveTopologyListRestartFeaturesEXT
Contract
Native structure VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT.
Khronos reference: VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
primitive_topology_list_restart
primitive_topology_list_restart: Bool32Native field primitiveTopologyListRestart.
primitive_topology_patch_list_restart
primitive_topology_patch_list_restart: Bool32Native field primitiveTopologyPatchListRestart.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_primitive_topology_list_restart
Set native field primitiveTopologyListRestart without native effects.
set_primitive_topology_patch_list_restart
Set native field primitiveTopologyPatchListRestart 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::PhysicalDevicePrivateDataBaseHandleFeaturesNV
Contract
Native structure VkPhysicalDevicePrivateDataBaseHandleFeaturesNV.
Khronos reference: VkPhysicalDevicePrivateDataBaseHandleFeaturesNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
private_data_base_handle
private_data_base_handle: Bool32Native field privateDataBaseHandle.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_private_data_base_handle
Set native field privateDataBaseHandle 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::PhysicalDevicePrivateDataFeatures
Contract
Native structure VkPhysicalDevicePrivateDataFeatures.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
private_data
private_data: Bool32Native field privateData.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_private_data
Set native field privateData 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::PhysicalDeviceProperties
#[repr(C)]pub struct PhysicalDeviceProperties {
pub api_version: u32,
pub driver_version: u32,
pub vendor_id: u32,
pub device_id: u32,
pub device_type: PhysicalDeviceType,
pub device_name: [c_char; 256],
pub pipeline_cache_uuid: [u8; 16],
pub limits: PhysicalDeviceLimits,
pub sparse_properties: PhysicalDeviceSparseProperties,
}Contract
Native structure VkPhysicalDeviceProperties.
Fields
api_version
api_version: u32Native field apiVersion.
driver_version
driver_version: u32Native field driverVersion.
vendor_id
vendor_id: u32Native field vendorID.
device_id
device_id: u32Native field deviceID.
device_type
device_type: PhysicalDeviceTypeNative field deviceType.
device_name
device_name: [c_char; 256]Native field deviceName.
pipeline_cache_uuid
pipeline_cache_uuid: [u8; 16]Native field pipelineCacheUUID.
limits
limits: PhysicalDeviceLimitsNative field limits.
sparse_properties
sparse_properties: PhysicalDeviceSparsePropertiesNative field sparseProperties.
Methods and associated items
new
Construct the record with its default native state.
set_api_version
Set native field apiVersion without native effects.
set_driver_version
Set native field driverVersion without native effects.
set_vendor_id
Set native field vendorID without native effects.
set_device_id
Set native field deviceID without native effects.
set_device_type
Set native field deviceType without native effects.
set_device_name
Set native field deviceName without native effects.
set_pipeline_cache_uuid
Set native field pipelineCacheUUID without native effects.
set_limits
Set native field limits without native effects.
set_sparse_properties
Set native field sparseProperties without native effects.
clone
default
Stvk::PhysicalDeviceProperties2
Contract
Native structure VkPhysicalDeviceProperties2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
properties
properties: PhysicalDevicePropertiesNative field properties.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_properties
Set native field properties 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::PhysicalDeviceProtectedMemoryFeatures
Contract
Native structure VkPhysicalDeviceProtectedMemoryFeatures.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
protected_memory
protected_memory: Bool32Native field protectedMemory.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_protected_memory
Set native field protectedMemory 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::PhysicalDeviceProtectedMemoryProperties
Contract
Native structure VkPhysicalDeviceProtectedMemoryProperties.
Khronos reference: VkPhysicalDeviceProtectedMemoryProperties
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
protected_no_fault
protected_no_fault: Bool32Native field protectedNoFault.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_protected_no_fault
Set native field protectedNoFault 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::PhysicalDeviceProvokingVertexFeaturesEXT
Contract
Native structure VkPhysicalDeviceProvokingVertexFeaturesEXT.
Khronos reference: VkPhysicalDeviceProvokingVertexFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
provoking_vertex_last
provoking_vertex_last: Bool32Native field provokingVertexLast.
transform_feedback_preserves_provoking_vertex
transform_feedback_preserves_provoking_vertex: Bool32Native field transformFeedbackPreservesProvokingVertex.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_provoking_vertex_last
Set native field provokingVertexLast without native effects.
set_transform_feedback_preserves_provoking_vertex
Set native field transformFeedbackPreservesProvokingVertex 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::PhysicalDeviceProvokingVertexPropertiesEXT
Contract
Native structure VkPhysicalDeviceProvokingVertexPropertiesEXT.
Khronos reference: VkPhysicalDeviceProvokingVertexPropertiesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
provoking_vertex_mode_per_pipeline
provoking_vertex_mode_per_pipeline: Bool32Native field provokingVertexModePerPipeline.
transform_feedback_preserves_triangle_fan_provoking_vertex
transform_feedback_preserves_triangle_fan_provoking_vertex: Bool32Native field transformFeedbackPreservesTriangleFanProvokingVertex.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_provoking_vertex_mode_per_pipeline
Set native field provokingVertexModePerPipeline without native effects.
set_transform_feedback_preserves_triangle_fan_provoking_vertex
Set native field transformFeedbackPreservesTriangleFanProvokingVertex 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::PhysicalDevicePushConstantBankFeaturesNV
Contract
Native structure VkPhysicalDevicePushConstantBankFeaturesNV.
Khronos reference: VkPhysicalDevicePushConstantBankFeaturesNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
push_constant_bank
push_constant_bank: Bool32Native field pushConstantBank.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_push_constant_bank
Set native field pushConstantBank 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::PhysicalDevicePushConstantBankPropertiesNV
Contract
Native structure VkPhysicalDevicePushConstantBankPropertiesNV.
Khronos reference: VkPhysicalDevicePushConstantBankPropertiesNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_graphics_push_constant_banks
max_graphics_push_constant_banks: u32Native field maxGraphicsPushConstantBanks.
max_compute_push_constant_banks
max_compute_push_constant_banks: u32Native field maxComputePushConstantBanks.
max_graphics_push_data_banks
max_graphics_push_data_banks: u32Native field maxGraphicsPushDataBanks.
max_compute_push_data_banks
max_compute_push_data_banks: u32Native field maxComputePushDataBanks.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_graphics_push_constant_banks
Set native field maxGraphicsPushConstantBanks without native effects.
set_max_compute_push_constant_banks
Set native field maxComputePushConstantBanks without native effects.
set_max_graphics_push_data_banks
Set native field maxGraphicsPushDataBanks without native effects.
set_max_compute_push_data_banks
Set native field maxComputePushDataBanks 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.