Realm

vk · Structs · C1

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

StRustExperimental

Stvk::CalibratedTimestampInfoKHR

pub struct CalibratedTimestampInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub time_domain: TimeDomainKHR, /* private fields */ }
Native structure VkCalibratedTimestampInfoKHR.

Contract

Native structure VkCalibratedTimestampInfoKHR.

Khronos reference: VkCalibratedTimestampInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

time_domain

Field
time_domain: TimeDomainKHR

Native field timeDomain.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_time_domain

Method
pub fn set_time_domain(self, value: TimeDomainKHR) -> Self

Set native field timeDomain 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::CAMetalLayer

Contract

Native type CAMetalLayer.

Khronos registry source: CAMetalLayer

Stvk::CheckpointData2NV

pub struct CheckpointData2NV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub stage: PipelineStageFlags2, pub p_checkpoint_marker: *mut c_void, /* private fields */ }
Native structure VkCheckpointData2NV.

Contract

Native structure VkCheckpointData2NV.

Khronos reference: VkCheckpointData2NV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

stage

Field
stage: PipelineStageFlags2

Native field stage.

p_checkpoint_marker

Field
p_checkpoint_marker: *mut c_void

Native field pCheckpointMarker.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_stage

Method
pub fn set_stage(self, value: PipelineStageFlags2) -> Self

Set native field stage without native effects.

set_checkpoint_marker

Method
pub unsafe fn set_checkpoint_marker(self, value: *mut c_void) -> Self

Set native pointer pCheckpointMarker explicitly. No borrow or extent is inferred.

Safety

The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.

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::CheckpointDataNV

pub struct CheckpointDataNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub stage: PipelineStageFlagBits, pub p_checkpoint_marker: *mut c_void, /* private fields */ }
Native structure VkCheckpointDataNV.

Contract

Native structure VkCheckpointDataNV.

Khronos reference: VkCheckpointDataNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

stage

Field
stage: PipelineStageFlagBits

Native field stage.

p_checkpoint_marker

Field
p_checkpoint_marker: *mut c_void

Native field pCheckpointMarker.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_stage

Method
pub fn set_stage(self, value: PipelineStageFlagBits) -> Self

Set native field stage without native effects.

set_checkpoint_marker

Method
pub unsafe fn set_checkpoint_marker(self, value: *mut c_void) -> Self

Set native pointer pCheckpointMarker explicitly. No borrow or extent is inferred.

Safety

The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.

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::ChromaLocation

Contract

Open integer representation of VkChromaLocation.

Khronos reference: VkChromaLocation

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> ChromaLocation
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &ChromaLocation) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::ClearAttachment

Contract

Native structure VkClearAttachment.

Khronos reference: VkClearAttachment

Fields

aspect_mask

Field
aspect_mask: ImageAspectFlags

Native field aspectMask.

color_attachment

Field
color_attachment: u32

Native field colorAttachment.

clear_value

Field
clear_value: ClearValue

Native field clearValue.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_aspect_mask

Method
pub fn set_aspect_mask(self, value: ImageAspectFlags) -> Self

Set native field aspectMask without native effects.

set_color_attachment

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

Set native field colorAttachment without native effects.

set_clear_value

Method
pub fn set_clear_value(self, value: ClearValue) -> Self

Set native field clearValue without native effects.

Stvk::ClearDepthStencilValue

Contract

Native structure VkClearDepthStencilValue.

Khronos reference: VkClearDepthStencilValue

Fields

depth

Field
depth: f32

Native field depth.

stencil

Field
stencil: u32

Native field stencil.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_depth

Method
pub fn set_depth(self, value: f32) -> Self

Set native field depth without native effects.

set_stencil

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

Set native field stencil without native effects.

clone

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

Stvk::ClearRect

Contract

Native structure VkClearRect.

Khronos reference: VkClearRect

Fields

rect

Field
rect: Rect2D

Native field rect.

base_array_layer

Field
base_array_layer: u32

Native field baseArrayLayer.

layer_count

Field
layer_count: u32

Native field layerCount.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_rect

Method
pub fn set_rect(self, value: Rect2D) -> Self

Set native field rect without native effects.

set_base_array_layer

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

Set native field baseArrayLayer without native effects.

set_layer_count

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

Set native field layerCount without native effects.

Stvk::ClusterAccelerationStructureAddressResolutionFlagBitsNV

#[repr(transparent)]pub struct ClusterAccelerationStructureAddressResolutionFlagBitsNV(pub u32);
Open integer representation of VkClusterAccelerationStructureAddressResolutionFlagBitsNV.

Contract

Open integer representation of VkClusterAccelerationStructureAddressResolutionFlagBitsNV.

Khronos reference: VkClusterAccelerationStructureAddressResolutionFlagBitsNV

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = ClusterAccelerationStructureAddressResolutionFlagBitsNV
The resulting type after applying the & operator.

Output-1

Method
type Output = ClusterAccelerationStructureAddressResolutionFlagBitsNV
The resulting type after applying the | operator.

Output-2

Method
type Output = ClusterAccelerationStructureAddressResolutionFlagBitsNV
The resulting type after applying the ^ operator.

clone

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> ClusterAccelerationStructureAddressResolutionFlagBitsNV
Returns the “default value” for a type. Read more

Output-3

Method
type Output = ClusterAccelerationStructureAddressResolutionFlagBitsNV
The resulting type after applying the ! operator.

eq

Method
fn eq( &self, other: &ClusterAccelerationStructureAddressResolutionFlagBitsNV, ) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::ClusterAccelerationStructureBuildClustersBottomLevelInfoNV

#[repr(C)]pub struct ClusterAccelerationStructureBuildClustersBottomLevelInfoNV { pub cluster_references_count: u32, pub cluster_references_stride: u32, pub cluster_references: DeviceAddress, }
Native structure VkClusterAccelerationStructureBuildClustersBottomLevelInfoNV.

Contract

Native structure VkClusterAccelerationStructureBuildClustersBottomLevelInfoNV.

Khronos reference: VkClusterAccelerationStructureBuildClustersBottomLevelInfoNV

Fields

cluster_references_count

Field
cluster_references_count: u32

Native field clusterReferencesCount.

cluster_references_stride

Field
cluster_references_stride: u32

Native field clusterReferencesStride.

cluster_references

Field
cluster_references: DeviceAddress

Native field clusterReferences.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_cluster_references_count

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

Set native field clusterReferencesCount without native effects.

set_cluster_references_stride

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

Set native field clusterReferencesStride without native effects.

set_cluster_references

Method
pub fn set_cluster_references(self, value: DeviceAddress) -> Self

Set native field clusterReferences without native effects.

clone

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

Stvk::ClusterAccelerationStructureBuildTriangleClusterInfoNV

#[repr(C)]pub struct ClusterAccelerationStructureBuildTriangleClusterInfoNV { pub cluster_id: u32, pub cluster_flags: ClusterAccelerationStructureClusterFlagsNV, pub _bitfield_1: u32, pub base_geometry_index_and_geometry_flags: ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV, pub index_buffer_stride: u16, pub vertex_buffer_stride: u16, pub geometry_index_and_flags_buffer_stride: u16, pub opacity_micromap_index_buffer_stride: u16, pub index_buffer: DeviceAddress, pub vertex_buffer: DeviceAddress, pub geometry_index_and_flags_buffer: DeviceAddress, pub opacity_micromap_array: DeviceAddress, pub opacity_micromap_index_buffer: DeviceAddress, }
Native structure VkClusterAccelerationStructureBuildTriangleClusterInfoNV.

Contract

Native structure VkClusterAccelerationStructureBuildTriangleClusterInfoNV.

Khronos reference: VkClusterAccelerationStructureBuildTriangleClusterInfoNV

Fields

cluster_id

Field
cluster_id: u32

Native field clusterID.

cluster_flags

Field
cluster_flags: ClusterAccelerationStructureClusterFlagsNV

Native field clusterFlags.

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

base_geometry_index_and_geometry_flags

Field
base_geometry_index_and_geometry_flags: ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV

Native field baseGeometryIndexAndGeometryFlags.

index_buffer_stride

Field
index_buffer_stride: u16

Native field indexBufferStride.

vertex_buffer_stride

Field
vertex_buffer_stride: u16

Native field vertexBufferStride.

geometry_index_and_flags_buffer_stride

Field
geometry_index_and_flags_buffer_stride: u16

Native field geometryIndexAndFlagsBufferStride.

opacity_micromap_index_buffer_stride

Field
opacity_micromap_index_buffer_stride: u16

Native field opacityMicromapIndexBufferStride.

index_buffer

Field
index_buffer: DeviceAddress

Native field indexBuffer.

vertex_buffer

Field
vertex_buffer: DeviceAddress

Native field vertexBuffer.

geometry_index_and_flags_buffer

Field
geometry_index_and_flags_buffer: DeviceAddress

Native field geometryIndexAndFlagsBuffer.

opacity_micromap_array

Field
opacity_micromap_array: DeviceAddress

Native field opacityMicromapArray.

opacity_micromap_index_buffer

Field
opacity_micromap_index_buffer: DeviceAddress

Native field opacityMicromapIndexBuffer.

Methods and associated items

triangle_count

Method
pub const fn triangle_count(&self) -> u32

Read native bitfield triangleCount.

set_triangle_count

Method
pub fn set_triangle_count(&mut self, value: u32)

Set native bitfield triangleCount, retaining its low 9 bits.

vertex_count

Method
pub const fn vertex_count(&self) -> u32

Read native bitfield vertexCount.

set_vertex_count

Method
pub fn set_vertex_count(&mut self, value: u32)

Set native bitfield vertexCount, retaining its low 9 bits.

position_truncate_bit_count

Method
pub const fn position_truncate_bit_count(&self) -> u32

Read native bitfield positionTruncateBitCount.

set_position_truncate_bit_count

Method
pub fn set_position_truncate_bit_count(&mut self, value: u32)

Set native bitfield positionTruncateBitCount, retaining its low 6 bits.

index_type

Method
pub const fn index_type(&self) -> u32

Read native bitfield indexType.

set_index_type

Method
pub fn set_index_type(&mut self, value: u32)

Set native bitfield indexType, retaining its low 4 bits.

opacity_micromap_index_type

Method
pub const fn opacity_micromap_index_type(&self) -> u32

Read native bitfield opacityMicromapIndexType.

set_opacity_micromap_index_type

Method
pub fn set_opacity_micromap_index_type(&mut self, value: u32)

Set native bitfield opacityMicromapIndexType, retaining its low 4 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_cluster_id

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

Set native field clusterID without native effects.

set_cluster_flags

Method
pub fn set_cluster_flags( self, value: ClusterAccelerationStructureClusterFlagsNV, ) -> Self

Set native field clusterFlags without native effects.

set_base_geometry_index_and_geometry_flags

Method
pub fn set_base_geometry_index_and_geometry_flags( self, value: ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV, ) -> Self

Set native field baseGeometryIndexAndGeometryFlags without native effects.

set_index_buffer_stride

Method
pub fn set_index_buffer_stride(self, value: u16) -> Self

Set native field indexBufferStride without native effects.

set_vertex_buffer_stride

Method
pub fn set_vertex_buffer_stride(self, value: u16) -> Self

Set native field vertexBufferStride without native effects.

set_geometry_index_and_flags_buffer_stride

Method
pub fn set_geometry_index_and_flags_buffer_stride(self, value: u16) -> Self

Set native field geometryIndexAndFlagsBufferStride without native effects.

set_opacity_micromap_index_buffer_stride

Method
pub fn set_opacity_micromap_index_buffer_stride(self, value: u16) -> Self

Set native field opacityMicromapIndexBufferStride without native effects.

set_index_buffer

Method
pub fn set_index_buffer(self, value: DeviceAddress) -> Self

Set native field indexBuffer without native effects.

set_vertex_buffer

Method
pub fn set_vertex_buffer(self, value: DeviceAddress) -> Self

Set native field vertexBuffer without native effects.

set_geometry_index_and_flags_buffer

Method
pub fn set_geometry_index_and_flags_buffer(self, value: DeviceAddress) -> Self

Set native field geometryIndexAndFlagsBuffer without native effects.

set_opacity_micromap_array

Method
pub fn set_opacity_micromap_array(self, value: DeviceAddress) -> Self

Set native field opacityMicromapArray without native effects.

set_opacity_micromap_index_buffer

Method
pub fn set_opacity_micromap_index_buffer(self, value: DeviceAddress) -> Self

Set native field opacityMicromapIndexBuffer without native effects.

clone

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

Stvk::ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV

#[repr(C)]pub struct ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV { pub cluster_id: u32, pub cluster_flags: ClusterAccelerationStructureClusterFlagsNV, pub _bitfield_1: u32, pub base_geometry_index_and_geometry_flags: ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV, pub index_buffer_stride: u16, pub vertex_buffer_stride: u16, pub geometry_index_and_flags_buffer_stride: u16, pub opacity_micromap_index_buffer_stride: u16, pub index_buffer: DeviceAddress, pub vertex_buffer: DeviceAddress, pub geometry_index_and_flags_buffer: DeviceAddress, pub opacity_micromap_array: DeviceAddress, pub opacity_micromap_index_buffer: DeviceAddress, pub instantiation_bounding_box_limit: DeviceAddress, }
Native structure VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.

Contract

Native structure VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV.

Khronos reference: VkClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV

Fields

cluster_id

Field
cluster_id: u32

Native field clusterID.

cluster_flags

Field
cluster_flags: ClusterAccelerationStructureClusterFlagsNV

Native field clusterFlags.

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

base_geometry_index_and_geometry_flags

Field
base_geometry_index_and_geometry_flags: ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV

Native field baseGeometryIndexAndGeometryFlags.

index_buffer_stride

Field
index_buffer_stride: u16

Native field indexBufferStride.

vertex_buffer_stride

Field
vertex_buffer_stride: u16

Native field vertexBufferStride.

geometry_index_and_flags_buffer_stride

Field
geometry_index_and_flags_buffer_stride: u16

Native field geometryIndexAndFlagsBufferStride.

opacity_micromap_index_buffer_stride

Field
opacity_micromap_index_buffer_stride: u16

Native field opacityMicromapIndexBufferStride.

index_buffer

Field
index_buffer: DeviceAddress

Native field indexBuffer.

vertex_buffer

Field
vertex_buffer: DeviceAddress

Native field vertexBuffer.

geometry_index_and_flags_buffer

Field
geometry_index_and_flags_buffer: DeviceAddress

Native field geometryIndexAndFlagsBuffer.

opacity_micromap_array

Field
opacity_micromap_array: DeviceAddress

Native field opacityMicromapArray.

opacity_micromap_index_buffer

Field
opacity_micromap_index_buffer: DeviceAddress

Native field opacityMicromapIndexBuffer.

instantiation_bounding_box_limit

Field
instantiation_bounding_box_limit: DeviceAddress

Native field instantiationBoundingBoxLimit.

Methods and associated items

triangle_count

Method
pub const fn triangle_count(&self) -> u32

Read native bitfield triangleCount.

set_triangle_count

Method
pub fn set_triangle_count(&mut self, value: u32)

Set native bitfield triangleCount, retaining its low 9 bits.

vertex_count

Method
pub const fn vertex_count(&self) -> u32

Read native bitfield vertexCount.

set_vertex_count

Method
pub fn set_vertex_count(&mut self, value: u32)

Set native bitfield vertexCount, retaining its low 9 bits.

position_truncate_bit_count

Method
pub const fn position_truncate_bit_count(&self) -> u32

Read native bitfield positionTruncateBitCount.

set_position_truncate_bit_count

Method
pub fn set_position_truncate_bit_count(&mut self, value: u32)

Set native bitfield positionTruncateBitCount, retaining its low 6 bits.

index_type

Method
pub const fn index_type(&self) -> u32

Read native bitfield indexType.

set_index_type

Method
pub fn set_index_type(&mut self, value: u32)

Set native bitfield indexType, retaining its low 4 bits.

opacity_micromap_index_type

Method
pub const fn opacity_micromap_index_type(&self) -> u32

Read native bitfield opacityMicromapIndexType.

set_opacity_micromap_index_type

Method
pub fn set_opacity_micromap_index_type(&mut self, value: u32)

Set native bitfield opacityMicromapIndexType, retaining its low 4 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_cluster_id

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

Set native field clusterID without native effects.

set_cluster_flags

Method
pub fn set_cluster_flags( self, value: ClusterAccelerationStructureClusterFlagsNV, ) -> Self

Set native field clusterFlags without native effects.

set_base_geometry_index_and_geometry_flags

Method
pub fn set_base_geometry_index_and_geometry_flags( self, value: ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV, ) -> Self

Set native field baseGeometryIndexAndGeometryFlags without native effects.

set_index_buffer_stride

Method
pub fn set_index_buffer_stride(self, value: u16) -> Self

Set native field indexBufferStride without native effects.

set_vertex_buffer_stride

Method
pub fn set_vertex_buffer_stride(self, value: u16) -> Self

Set native field vertexBufferStride without native effects.

set_geometry_index_and_flags_buffer_stride

Method
pub fn set_geometry_index_and_flags_buffer_stride(self, value: u16) -> Self

Set native field geometryIndexAndFlagsBufferStride without native effects.

set_opacity_micromap_index_buffer_stride

Method
pub fn set_opacity_micromap_index_buffer_stride(self, value: u16) -> Self

Set native field opacityMicromapIndexBufferStride without native effects.

set_index_buffer

Method
pub fn set_index_buffer(self, value: DeviceAddress) -> Self

Set native field indexBuffer without native effects.

set_vertex_buffer

Method
pub fn set_vertex_buffer(self, value: DeviceAddress) -> Self

Set native field vertexBuffer without native effects.

set_geometry_index_and_flags_buffer

Method
pub fn set_geometry_index_and_flags_buffer(self, value: DeviceAddress) -> Self

Set native field geometryIndexAndFlagsBuffer without native effects.

set_opacity_micromap_array

Method
pub fn set_opacity_micromap_array(self, value: DeviceAddress) -> Self

Set native field opacityMicromapArray without native effects.

set_opacity_micromap_index_buffer

Method
pub fn set_opacity_micromap_index_buffer(self, value: DeviceAddress) -> Self

Set native field opacityMicromapIndexBuffer without native effects.

set_instantiation_bounding_box_limit

Method
pub fn set_instantiation_bounding_box_limit(self, value: DeviceAddress) -> Self

Set native field instantiationBoundingBoxLimit without native effects.

clone

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

Stvk::ClusterAccelerationStructureClusterFlagBitsNV

Contract

Open integer representation of VkClusterAccelerationStructureClusterFlagBitsNV.

Khronos reference: VkClusterAccelerationStructureClusterFlagBitsNV

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = ClusterAccelerationStructureClusterFlagBitsNV
The resulting type after applying the & operator.

Output-1

Method
type Output = ClusterAccelerationStructureClusterFlagBitsNV
The resulting type after applying the | operator.

Output-2

Method
type Output = ClusterAccelerationStructureClusterFlagBitsNV
The resulting type after applying the ^ operator.

clone

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> ClusterAccelerationStructureClusterFlagBitsNV
Returns the “default value” for a type. Read more

Output-3

Method
type Output = ClusterAccelerationStructureClusterFlagBitsNV
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &ClusterAccelerationStructureClusterFlagBitsNV) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::ClusterAccelerationStructureClustersBottomLevelInputNV

pub struct ClusterAccelerationStructureClustersBottomLevelInputNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub max_total_cluster_count: u32, pub max_cluster_count_per_acceleration_structure: u32, /* private fields */ }
Native structure VkClusterAccelerationStructureClustersBottomLevelInputNV.

Contract

Native structure VkClusterAccelerationStructureClustersBottomLevelInputNV.

Khronos reference: VkClusterAccelerationStructureClustersBottomLevelInputNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

max_total_cluster_count

Field
max_total_cluster_count: u32

Native field maxTotalClusterCount.

max_cluster_count_per_acceleration_structure

Field
max_cluster_count_per_acceleration_structure: u32

Native field maxClusterCountPerAccelerationStructure.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_max_total_cluster_count

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

Set native field maxTotalClusterCount without native effects.

set_max_cluster_count_per_acceleration_structure

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

Set native field maxClusterCountPerAccelerationStructure 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::ClusterAccelerationStructureCommandsInfoNV

pub struct ClusterAccelerationStructureCommandsInfoNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub input: ClusterAccelerationStructureInputInfoNV<'a>, pub dst_implicit_data: DeviceAddress, pub scratch_data: DeviceAddress, pub dst_addresses_array: StridedDeviceAddressRegionKHR, pub dst_sizes_array: StridedDeviceAddressRegionKHR, pub src_infos_array: StridedDeviceAddressRegionKHR, pub src_infos_count: DeviceAddress, pub address_resolution_flags: ClusterAccelerationStructureAddressResolutionFlagsNV, /* private fields */ }
Native structure VkClusterAccelerationStructureCommandsInfoNV.

Contract

Native structure VkClusterAccelerationStructureCommandsInfoNV.

Khronos reference: VkClusterAccelerationStructureCommandsInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

input

Field
input: ClusterAccelerationStructureInputInfoNV<'a>

Native field input.

dst_implicit_data

Field
dst_implicit_data: DeviceAddress

Native field dstImplicitData.

scratch_data

Field
scratch_data: DeviceAddress

Native field scratchData.

dst_addresses_array

Field
dst_addresses_array: StridedDeviceAddressRegionKHR

Native field dstAddressesArray.

dst_sizes_array

Field
dst_sizes_array: StridedDeviceAddressRegionKHR

Native field dstSizesArray.

src_infos_array

Field
src_infos_array: StridedDeviceAddressRegionKHR

Native field srcInfosArray.

src_infos_count

Field
src_infos_count: DeviceAddress

Native field srcInfosCount.

address_resolution_flags

Field
address_resolution_flags: ClusterAccelerationStructureAddressResolutionFlagsNV

Native field addressResolutionFlags.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_input

Method
pub fn set_input( self, value: ClusterAccelerationStructureInputInfoNV<'a>, ) -> Self

Set native field input without native effects.

set_dst_implicit_data

Method
pub fn set_dst_implicit_data(self, value: DeviceAddress) -> Self

Set native field dstImplicitData without native effects.

set_scratch_data

Method
pub fn set_scratch_data(self, value: DeviceAddress) -> Self

Set native field scratchData without native effects.

set_dst_addresses_array

Method
pub fn set_dst_addresses_array( self, value: StridedDeviceAddressRegionKHR, ) -> Self

Set native field dstAddressesArray without native effects.

set_dst_sizes_array

Method
pub fn set_dst_sizes_array(self, value: StridedDeviceAddressRegionKHR) -> Self

Set native field dstSizesArray without native effects.

set_src_infos_array

Method
pub fn set_src_infos_array(self, value: StridedDeviceAddressRegionKHR) -> Self

Set native field srcInfosArray without native effects.

set_src_infos_count

Method
pub fn set_src_infos_count(self, value: DeviceAddress) -> Self

Set native field srcInfosCount without native effects.

set_address_resolution_flags

Method
pub fn set_address_resolution_flags( self, value: ClusterAccelerationStructureAddressResolutionFlagsNV, ) -> Self

Set native field addressResolutionFlags 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::ClusterAccelerationStructureGeometryFlagBitsNV

Contract

Open integer representation of VkClusterAccelerationStructureGeometryFlagBitsNV.

Khronos reference: VkClusterAccelerationStructureGeometryFlagBitsNV

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = ClusterAccelerationStructureGeometryFlagBitsNV
The resulting type after applying the & operator.

Output-1

Method
type Output = ClusterAccelerationStructureGeometryFlagBitsNV
The resulting type after applying the | operator.

Output-2

Method
type Output = ClusterAccelerationStructureGeometryFlagBitsNV
The resulting type after applying the ^ operator.

clone

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> ClusterAccelerationStructureGeometryFlagBitsNV
Returns the “default value” for a type. Read more

Output-3

Method
type Output = ClusterAccelerationStructureGeometryFlagBitsNV
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &ClusterAccelerationStructureGeometryFlagBitsNV) -> bool
Tests for self and other values to be equal, and is used by ==.