vk · Structs · P29
16 public declarations with native signatures and source-owned contracts.
Stvk::PhysicalDeviceVertexAttributeDivisorFeatures
Contract
Native structure VkPhysicalDeviceVertexAttributeDivisorFeatures.
Khronos reference: VkPhysicalDeviceVertexAttributeDivisorFeatures
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
vertex_attribute_instance_rate_divisor
vertex_attribute_instance_rate_divisor: Bool32Native field vertexAttributeInstanceRateDivisor.
vertex_attribute_instance_rate_zero_divisor
vertex_attribute_instance_rate_zero_divisor: Bool32Native field vertexAttributeInstanceRateZeroDivisor.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_vertex_attribute_instance_rate_divisor
Set native field vertexAttributeInstanceRateDivisor without native effects.
set_vertex_attribute_instance_rate_zero_divisor
Set native field vertexAttributeInstanceRateZeroDivisor 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::PhysicalDeviceVertexAttributeDivisorProperties
Contract
Native structure VkPhysicalDeviceVertexAttributeDivisorProperties.
Khronos reference: VkPhysicalDeviceVertexAttributeDivisorProperties
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_vertex_attrib_divisor
max_vertex_attrib_divisor: u32Native field maxVertexAttribDivisor.
supports_non_zero_first_instance
supports_non_zero_first_instance: Bool32Native field supportsNonZeroFirstInstance.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_vertex_attrib_divisor
Set native field maxVertexAttribDivisor without native effects.
set_supports_non_zero_first_instance
Set native field supportsNonZeroFirstInstance 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::PhysicalDeviceVertexAttributeDivisorPropertiesEXT
Contract
Native structure VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.
Khronos reference: VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_vertex_attrib_divisor
max_vertex_attrib_divisor: u32Native field maxVertexAttribDivisor.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_vertex_attrib_divisor
Set native field maxVertexAttribDivisor 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::PhysicalDeviceVertexAttributeRobustnessFeaturesEXT
Contract
Native structure VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT.
Khronos reference: VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
vertex_attribute_robustness
vertex_attribute_robustness: Bool32Native field vertexAttributeRobustness.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_vertex_attribute_robustness
Set native field vertexAttributeRobustness 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::PhysicalDeviceVertexInputDynamicStateFeaturesEXT
Contract
Native structure VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT.
Khronos reference: VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
vertex_input_dynamic_state
vertex_input_dynamic_state: Bool32Native field vertexInputDynamicState.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_vertex_input_dynamic_state
Set native field vertexInputDynamicState 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::PhysicalDeviceVideoDecodeVP9FeaturesKHR
Contract
Native structure VkPhysicalDeviceVideoDecodeVP9FeaturesKHR.
Khronos reference: VkPhysicalDeviceVideoDecodeVP9FeaturesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
video_decode_vp9
video_decode_vp9: Bool32Native field videoDecodeVP9.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_video_decode_vp9
Set native field videoDecodeVP9 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::PhysicalDeviceVideoEncodeAV1FeaturesKHR
Contract
Native structure VkPhysicalDeviceVideoEncodeAV1FeaturesKHR.
Khronos reference: VkPhysicalDeviceVideoEncodeAV1FeaturesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
video_encode_av1
video_encode_av1: Bool32Native field videoEncodeAV1.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_video_encode_av1
Set native field videoEncodeAV1 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::PhysicalDeviceVideoEncodeFeedback2FeaturesKHR
Contract
Native structure VkPhysicalDeviceVideoEncodeFeedback2FeaturesKHR.
Khronos reference: VkPhysicalDeviceVideoEncodeFeedback2FeaturesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
video_encode_feedback2
video_encode_feedback2: Bool32Native field videoEncodeFeedback2.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_video_encode_feedback2
Set native field videoEncodeFeedback2 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::PhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR
Contract
Native structure VkPhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR.
Khronos reference: VkPhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
video_encode_intra_refresh
video_encode_intra_refresh: Bool32Native field videoEncodeIntraRefresh.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_video_encode_intra_refresh
Set native field videoEncodeIntraRefresh 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::PhysicalDeviceVideoEncodeQualityLevelInfoKHR
Contract
Native structure VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR.
Khronos reference: VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_video_profile
p_video_profile: *const VideoProfileInfoKHR<'a>Native field pVideoProfile.
quality_level
quality_level: u32Native field qualityLevel.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_video_profile
Set native field pVideoProfile without native effects.
set_quality_level
Set native field qualityLevel 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::PhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR
Contract
Native structure VkPhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR.
Khronos reference: VkPhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
video_encode_quantization_map
video_encode_quantization_map: Bool32Native field videoEncodeQuantizationMap.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_video_encode_quantization_map
Set native field videoEncodeQuantizationMap 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::PhysicalDeviceVideoEncodeRgbConversionFeaturesVALVE
Contract
Native structure VkPhysicalDeviceVideoEncodeRgbConversionFeaturesVALVE.
Khronos reference: VkPhysicalDeviceVideoEncodeRgbConversionFeaturesVALVE
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
video_encode_rgb_conversion
video_encode_rgb_conversion: Bool32Native field videoEncodeRgbConversion.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_video_encode_rgb_conversion
Set native field videoEncodeRgbConversion 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::PhysicalDeviceVideoFormatInfoKHR
Contract
Native structure VkPhysicalDeviceVideoFormatInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
image_usage
image_usage: ImageUsageFlagsNative field imageUsage.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_image_usage
Set native field imageUsage 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::PhysicalDeviceVideoMaintenance1FeaturesKHR
Contract
Native structure VkPhysicalDeviceVideoMaintenance1FeaturesKHR.
Khronos reference: VkPhysicalDeviceVideoMaintenance1FeaturesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
video_maintenance1
video_maintenance1: Bool32Native field videoMaintenance1.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_video_maintenance1
Set native field videoMaintenance1 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::PhysicalDeviceVideoMaintenance2FeaturesKHR
Contract
Native structure VkPhysicalDeviceVideoMaintenance2FeaturesKHR.
Khronos reference: VkPhysicalDeviceVideoMaintenance2FeaturesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
video_maintenance2
video_maintenance2: Bool32Native field videoMaintenance2.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_video_maintenance2
Set native field videoMaintenance2 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::PhysicalDeviceVulkan11Features
pub struct PhysicalDeviceVulkan11Features<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub storage_buffer16_bit_access: Bool32,
pub uniform_and_storage_buffer16_bit_access: Bool32,
pub storage_push_constant16: Bool32,
pub storage_input_output16: Bool32,
pub multiview: Bool32,
pub multiview_geometry_shader: Bool32,
pub multiview_tessellation_shader: Bool32,
pub variable_pointers_storage_buffer: Bool32,
pub variable_pointers: Bool32,
pub protected_memory: Bool32,
pub sampler_ycbcr_conversion: Bool32,
pub shader_draw_parameters: Bool32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceVulkan11Features.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
storage_buffer16_bit_access
storage_buffer16_bit_access: Bool32Native field storageBuffer16BitAccess.
uniform_and_storage_buffer16_bit_access
uniform_and_storage_buffer16_bit_access: Bool32Native field uniformAndStorageBuffer16BitAccess.
storage_push_constant16
storage_push_constant16: Bool32Native field storagePushConstant16.
storage_input_output16
storage_input_output16: Bool32Native field storageInputOutput16.
multiview
multiview: Bool32Native field multiview.
multiview_geometry_shader
multiview_geometry_shader: Bool32Native field multiviewGeometryShader.
multiview_tessellation_shader
multiview_tessellation_shader: Bool32Native field multiviewTessellationShader.
variable_pointers_storage_buffer
variable_pointers_storage_buffer: Bool32Native field variablePointersStorageBuffer.
variable_pointers
variable_pointers: Bool32Native field variablePointers.
protected_memory
protected_memory: Bool32Native field protectedMemory.
sampler_ycbcr_conversion
sampler_ycbcr_conversion: Bool32Native field samplerYcbcrConversion.
shader_draw_parameters
shader_draw_parameters: Bool32Native field shaderDrawParameters.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_storage_buffer16_bit_access
Set native field storageBuffer16BitAccess without native effects.
set_uniform_and_storage_buffer16_bit_access
Set native field uniformAndStorageBuffer16BitAccess without native effects.
set_storage_push_constant16
Set native field storagePushConstant16 without native effects.
set_storage_input_output16
Set native field storageInputOutput16 without native effects.
set_multiview
Set native field multiview without native effects.
set_multiview_geometry_shader
Set native field multiviewGeometryShader without native effects.
set_multiview_tessellation_shader
Set native field multiviewTessellationShader without native effects.
set_variable_pointers_storage_buffer
Set native field variablePointersStorageBuffer without native effects.
set_variable_pointers
Set native field variablePointers without native effects.
set_protected_memory
Set native field protectedMemory without native effects.
set_sampler_ycbcr_conversion
Set native field samplerYcbcrConversion without native effects.
set_shader_draw_parameters
Set native field shaderDrawParameters 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.