Realm

vk · Structs · P20

16 public declarations with native signatures and source-owned contracts.

StRustExperimental

Stvk::PhysicalDevicePresentTimingFeaturesEXT

pub struct PhysicalDevicePresentTimingFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub present_timing: Bool32, pub present_at_absolute_time: Bool32, pub present_at_relative_time: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePresentTimingFeaturesEXT.

Contract

Native structure VkPhysicalDevicePresentTimingFeaturesEXT.

Khronos reference: VkPhysicalDevicePresentTimingFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

present_timing

Field
present_timing: Bool32

Native field presentTiming.

present_at_absolute_time

Field
present_at_absolute_time: Bool32

Native field presentAtAbsoluteTime.

present_at_relative_time

Field
present_at_relative_time: Bool32

Native field presentAtRelativeTime.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_present_timing

Method
pub fn set_present_timing(self, value: Bool32) -> Self

Set native field presentTiming without native effects.

set_present_at_absolute_time

Method
pub fn set_present_at_absolute_time(self, value: Bool32) -> Self

Set native field presentAtAbsoluteTime without native effects.

set_present_at_relative_time

Method
pub fn set_present_at_relative_time(self, value: Bool32) -> Self

Set native field presentAtRelativeTime without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDevicePresentWait2FeaturesKHR

pub struct PhysicalDevicePresentWait2FeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub present_wait2: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePresentWait2FeaturesKHR.

Contract

Native structure VkPhysicalDevicePresentWait2FeaturesKHR.

Khronos reference: VkPhysicalDevicePresentWait2FeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

present_wait2

Field
present_wait2: Bool32

Native field presentWait2.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_present_wait2

Method
pub fn set_present_wait2(self, value: Bool32) -> Self

Set native field presentWait2 without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDevicePresentWaitFeaturesKHR

pub struct PhysicalDevicePresentWaitFeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub present_wait: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePresentWaitFeaturesKHR.

Contract

Native structure VkPhysicalDevicePresentWaitFeaturesKHR.

Khronos reference: VkPhysicalDevicePresentWaitFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

present_wait

Field
present_wait: Bool32

Native field presentWait.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_present_wait

Method
pub fn set_present_wait(self, value: Bool32) -> Self

Set native field presentWait without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDevicePrimitiveRestartIndexFeaturesEXT

pub struct PhysicalDevicePrimitiveRestartIndexFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub primitive_restart_index: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePrimitiveRestartIndexFeaturesEXT.

Contract

Native structure VkPhysicalDevicePrimitiveRestartIndexFeaturesEXT.

Khronos reference: VkPhysicalDevicePrimitiveRestartIndexFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

primitive_restart_index

Field
primitive_restart_index: Bool32

Native field primitiveRestartIndex.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_primitive_restart_index

Method
pub fn set_primitive_restart_index(self, value: Bool32) -> Self

Set native field primitiveRestartIndex without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

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 */ }
Native structure VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT.

Contract

Native structure VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT.

Khronos reference: VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

primitives_generated_query

Field
primitives_generated_query: Bool32

Native field primitivesGeneratedQuery.

primitives_generated_query_with_rasterizer_discard

Field
primitives_generated_query_with_rasterizer_discard: Bool32

Native field primitivesGeneratedQueryWithRasterizerDiscard.

primitives_generated_query_with_non_zero_streams

Field
primitives_generated_query_with_non_zero_streams: Bool32

Native field primitivesGeneratedQueryWithNonZeroStreams.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_primitives_generated_query

Method
pub fn set_primitives_generated_query(self, value: Bool32) -> Self

Set native field primitivesGeneratedQuery without native effects.

set_primitives_generated_query_with_rasterizer_discard

Method
pub fn set_primitives_generated_query_with_rasterizer_discard( self, value: Bool32, ) -> Self

Set native field primitivesGeneratedQueryWithRasterizerDiscard without native effects.

set_primitives_generated_query_with_non_zero_streams

Method
pub fn set_primitives_generated_query_with_non_zero_streams( self, value: Bool32, ) -> Self

Set native field primitivesGeneratedQueryWithNonZeroStreams without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDevicePrimitiveTopologyListRestartFeaturesEXT

pub struct PhysicalDevicePrimitiveTopologyListRestartFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub primitive_topology_list_restart: Bool32, pub primitive_topology_patch_list_restart: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT.

Contract

Native structure VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT.

Khronos reference: VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

primitive_topology_list_restart

Field
primitive_topology_list_restart: Bool32

Native field primitiveTopologyListRestart.

primitive_topology_patch_list_restart

Field
primitive_topology_patch_list_restart: Bool32

Native field primitiveTopologyPatchListRestart.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_primitive_topology_list_restart

Method
pub fn set_primitive_topology_list_restart(self, value: Bool32) -> Self

Set native field primitiveTopologyListRestart without native effects.

set_primitive_topology_patch_list_restart

Method
pub fn set_primitive_topology_patch_list_restart(self, value: Bool32) -> Self

Set native field primitiveTopologyPatchListRestart without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDevicePrivateDataBaseHandleFeaturesNV

pub struct PhysicalDevicePrivateDataBaseHandleFeaturesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub private_data_base_handle: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePrivateDataBaseHandleFeaturesNV.

Contract

Native structure VkPhysicalDevicePrivateDataBaseHandleFeaturesNV.

Khronos reference: VkPhysicalDevicePrivateDataBaseHandleFeaturesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

private_data_base_handle

Field
private_data_base_handle: Bool32

Native field privateDataBaseHandle.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_private_data_base_handle

Method
pub fn set_private_data_base_handle(self, value: Bool32) -> Self

Set native field privateDataBaseHandle without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDevicePrivateDataFeatures

pub struct PhysicalDevicePrivateDataFeatures<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub private_data: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePrivateDataFeatures.

Contract

Native structure VkPhysicalDevicePrivateDataFeatures.

Khronos reference: VkPhysicalDevicePrivateDataFeatures

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

private_data

Field
private_data: Bool32

Native field privateData.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_private_data

Method
pub fn set_private_data(self, value: Bool32) -> Self

Set native field privateData without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

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, }
Native structure VkPhysicalDeviceProperties.

Contract

Native structure VkPhysicalDeviceProperties.

Khronos reference: VkPhysicalDeviceProperties

Fields

api_version

Field
api_version: u32

Native field apiVersion.

driver_version

Field
driver_version: u32

Native field driverVersion.

vendor_id

Field
vendor_id: u32

Native field vendorID.

device_id

Field
device_id: u32

Native field deviceID.

device_type

Field
device_type: PhysicalDeviceType

Native field deviceType.

device_name

Field
device_name: [c_char; 256]

Native field deviceName.

pipeline_cache_uuid

Field
pipeline_cache_uuid: [u8; 16]

Native field pipelineCacheUUID.

limits

Field
limits: PhysicalDeviceLimits

Native field limits.

sparse_properties

Field
sparse_properties: PhysicalDeviceSparseProperties

Native field sparseProperties.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_api_version

Method
pub fn set_api_version(self, value: u32) -> Self

Set native field apiVersion without native effects.

set_driver_version

Method
pub fn set_driver_version(self, value: u32) -> Self

Set native field driverVersion without native effects.

set_vendor_id

Method
pub fn set_vendor_id(self, value: u32) -> Self

Set native field vendorID without native effects.

set_device_id

Method
pub fn set_device_id(self, value: u32) -> Self

Set native field deviceID without native effects.

set_device_type

Method
pub fn set_device_type(self, value: PhysicalDeviceType) -> Self

Set native field deviceType without native effects.

set_device_name

Method
pub fn set_device_name(self, value: [c_char; 256]) -> Self

Set native field deviceName without native effects.

set_pipeline_cache_uuid

Method
pub fn set_pipeline_cache_uuid(self, value: [u8; 16]) -> Self

Set native field pipelineCacheUUID without native effects.

set_limits

Method
pub fn set_limits(self, value: PhysicalDeviceLimits) -> Self

Set native field limits without native effects.

set_sparse_properties

Method
pub fn set_sparse_properties( self, value: PhysicalDeviceSparseProperties, ) -> Self

Set native field sparseProperties without native effects.

clone

Method
fn clone(&self) -> PhysicalDeviceProperties
Returns a duplicate of the value. Read more

Stvk::PhysicalDeviceProperties2

pub struct PhysicalDeviceProperties2<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub properties: PhysicalDeviceProperties, /* private fields */ }
Native structure VkPhysicalDeviceProperties2.

Contract

Native structure VkPhysicalDeviceProperties2.

Khronos reference: VkPhysicalDeviceProperties2

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

properties

Field
properties: PhysicalDeviceProperties

Native field properties.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_properties

Method
pub fn set_properties(self, value: PhysicalDeviceProperties) -> Self

Set native field properties without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDeviceProtectedMemoryFeatures

pub struct PhysicalDeviceProtectedMemoryFeatures<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub protected_memory: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceProtectedMemoryFeatures.

Contract

Native structure VkPhysicalDeviceProtectedMemoryFeatures.

Khronos reference: VkPhysicalDeviceProtectedMemoryFeatures

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

protected_memory

Field
protected_memory: Bool32

Native field protectedMemory.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_protected_memory

Method
pub fn set_protected_memory(self, value: Bool32) -> Self

Set native field protectedMemory without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDeviceProtectedMemoryProperties

pub struct PhysicalDeviceProtectedMemoryProperties<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub protected_no_fault: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceProtectedMemoryProperties.

Contract

Native structure VkPhysicalDeviceProtectedMemoryProperties.

Khronos reference: VkPhysicalDeviceProtectedMemoryProperties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

protected_no_fault

Field
protected_no_fault: Bool32

Native field protectedNoFault.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_protected_no_fault

Method
pub fn set_protected_no_fault(self, value: Bool32) -> Self

Set native field protectedNoFault without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDeviceProvokingVertexFeaturesEXT

pub struct PhysicalDeviceProvokingVertexFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub provoking_vertex_last: Bool32, pub transform_feedback_preserves_provoking_vertex: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceProvokingVertexFeaturesEXT.

Contract

Native structure VkPhysicalDeviceProvokingVertexFeaturesEXT.

Khronos reference: VkPhysicalDeviceProvokingVertexFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

provoking_vertex_last

Field
provoking_vertex_last: Bool32

Native field provokingVertexLast.

transform_feedback_preserves_provoking_vertex

Field
transform_feedback_preserves_provoking_vertex: Bool32

Native field transformFeedbackPreservesProvokingVertex.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_provoking_vertex_last

Method
pub fn set_provoking_vertex_last(self, value: Bool32) -> Self

Set native field provokingVertexLast without native effects.

set_transform_feedback_preserves_provoking_vertex

Method
pub fn set_transform_feedback_preserves_provoking_vertex( self, value: Bool32, ) -> Self

Set native field transformFeedbackPreservesProvokingVertex without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDeviceProvokingVertexPropertiesEXT

pub struct PhysicalDeviceProvokingVertexPropertiesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub provoking_vertex_mode_per_pipeline: Bool32, pub transform_feedback_preserves_triangle_fan_provoking_vertex: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceProvokingVertexPropertiesEXT.

Contract

Native structure VkPhysicalDeviceProvokingVertexPropertiesEXT.

Khronos reference: VkPhysicalDeviceProvokingVertexPropertiesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

provoking_vertex_mode_per_pipeline

Field
provoking_vertex_mode_per_pipeline: Bool32

Native field provokingVertexModePerPipeline.

transform_feedback_preserves_triangle_fan_provoking_vertex

Field
transform_feedback_preserves_triangle_fan_provoking_vertex: Bool32

Native field transformFeedbackPreservesTriangleFanProvokingVertex.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_provoking_vertex_mode_per_pipeline

Method
pub fn set_provoking_vertex_mode_per_pipeline(self, value: Bool32) -> Self

Set native field provokingVertexModePerPipeline without native effects.

set_transform_feedback_preserves_triangle_fan_provoking_vertex

Method
pub fn set_transform_feedback_preserves_triangle_fan_provoking_vertex( self, value: Bool32, ) -> Self

Set native field transformFeedbackPreservesTriangleFanProvokingVertex without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDevicePushConstantBankFeaturesNV

pub struct PhysicalDevicePushConstantBankFeaturesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub push_constant_bank: Bool32, /* private fields */ }
Native structure VkPhysicalDevicePushConstantBankFeaturesNV.

Contract

Native structure VkPhysicalDevicePushConstantBankFeaturesNV.

Khronos reference: VkPhysicalDevicePushConstantBankFeaturesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

push_constant_bank

Field
push_constant_bank: Bool32

Native field pushConstantBank.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_push_constant_bank

Method
pub fn set_push_constant_bank(self, value: Bool32) -> Self

Set native field pushConstantBank without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.

Stvk::PhysicalDevicePushConstantBankPropertiesNV

pub struct PhysicalDevicePushConstantBankPropertiesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub max_graphics_push_constant_banks: u32, pub max_compute_push_constant_banks: u32, pub max_graphics_push_data_banks: u32, pub max_compute_push_data_banks: u32, /* private fields */ }
Native structure VkPhysicalDevicePushConstantBankPropertiesNV.

Contract

Native structure VkPhysicalDevicePushConstantBankPropertiesNV.

Khronos reference: VkPhysicalDevicePushConstantBankPropertiesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

max_graphics_push_constant_banks

Field
max_graphics_push_constant_banks: u32

Native field maxGraphicsPushConstantBanks.

max_compute_push_constant_banks

Field
max_compute_push_constant_banks: u32

Native field maxComputePushConstantBanks.

max_graphics_push_data_banks

Field
max_graphics_push_data_banks: u32

Native field maxGraphicsPushDataBanks.

max_compute_push_data_banks

Field
max_compute_push_data_banks: u32

Native field maxComputePushDataBanks.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_max_graphics_push_constant_banks

Method
pub fn set_max_graphics_push_constant_banks(self, value: u32) -> Self

Set native field maxGraphicsPushConstantBanks without native effects.

set_max_compute_push_constant_banks

Method
pub fn set_max_compute_push_constant_banks(self, value: u32) -> Self

Set native field maxComputePushConstantBanks without native effects.

set_max_graphics_push_data_banks

Method
pub fn set_max_graphics_push_data_banks(self, value: u32) -> Self

Set native field maxGraphicsPushDataBanks without native effects.

set_max_compute_push_data_banks

Method
pub fn set_max_compute_push_data_banks(self, value: u32) -> Self

Set native field maxComputePushDataBanks without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

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.