Realm

vk · Structs · A2

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

StRustExperimental

Stvk::AccelerationStructureGeometryLinearSweptSpheresDataNV

pub struct AccelerationStructureGeometryLinearSweptSpheresDataNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub vertex_format: Format, pub vertex_data: DeviceOrHostAddressConstKHR, pub vertex_stride: DeviceSize, pub radius_format: Format, pub radius_data: DeviceOrHostAddressConstKHR, pub radius_stride: DeviceSize, pub index_type: IndexType, pub index_data: DeviceOrHostAddressConstKHR, pub index_stride: DeviceSize, pub indexing_mode: RayTracingLssIndexingModeNV, pub end_caps_mode: RayTracingLssPrimitiveEndCapsModeNV, /* private fields */ }
Native structure VkAccelerationStructureGeometryLinearSweptSpheresDataNV.

Contract

Native structure VkAccelerationStructureGeometryLinearSweptSpheresDataNV.

Khronos reference: VkAccelerationStructureGeometryLinearSweptSpheresDataNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

vertex_format

Field
vertex_format: Format

Native field vertexFormat.

vertex_data

Field
vertex_data: DeviceOrHostAddressConstKHR

Native field vertexData.

vertex_stride

Field
vertex_stride: DeviceSize

Native field vertexStride.

radius_format

Field
radius_format: Format

Native field radiusFormat.

radius_data

Field
radius_data: DeviceOrHostAddressConstKHR

Native field radiusData.

radius_stride

Field
radius_stride: DeviceSize

Native field radiusStride.

index_type

Field
index_type: IndexType

Native field indexType.

index_data

Field
index_data: DeviceOrHostAddressConstKHR

Native field indexData.

index_stride

Field
index_stride: DeviceSize

Native field indexStride.

indexing_mode

Field
indexing_mode: RayTracingLssIndexingModeNV

Native field indexingMode.

end_caps_mode

Field
end_caps_mode: RayTracingLssPrimitiveEndCapsModeNV

Native field endCapsMode.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_vertex_format

Method
pub fn set_vertex_format(self, value: Format) -> Self

Set native field vertexFormat without native effects.

set_vertex_data

Method
pub fn set_vertex_data(self, value: DeviceOrHostAddressConstKHR) -> Self

Set native field vertexData without native effects.

set_vertex_stride

Method
pub fn set_vertex_stride(self, value: DeviceSize) -> Self

Set native field vertexStride without native effects.

set_radius_format

Method
pub fn set_radius_format(self, value: Format) -> Self

Set native field radiusFormat without native effects.

set_radius_data

Method
pub fn set_radius_data(self, value: DeviceOrHostAddressConstKHR) -> Self

Set native field radiusData without native effects.

set_radius_stride

Method
pub fn set_radius_stride(self, value: DeviceSize) -> Self

Set native field radiusStride without native effects.

set_index_type

Method
pub fn set_index_type(self, value: IndexType) -> Self

Set native field indexType without native effects.

set_index_data

Method
pub fn set_index_data(self, value: DeviceOrHostAddressConstKHR) -> Self

Set native field indexData without native effects.

set_index_stride

Method
pub fn set_index_stride(self, value: DeviceSize) -> Self

Set native field indexStride without native effects.

set_indexing_mode

Method
pub fn set_indexing_mode(self, value: RayTracingLssIndexingModeNV) -> Self

Set native field indexingMode without native effects.

set_end_caps_mode

Method
pub fn set_end_caps_mode( self, value: RayTracingLssPrimitiveEndCapsModeNV, ) -> Self

Set native field endCapsMode 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::AccelerationStructureGeometryMicromapDataKHR

pub struct AccelerationStructureGeometryMicromapDataKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub usage_counts_count: u32, pub p_usage_counts: *const MicromapUsageKHR, pub pp_usage_counts: *const *const MicromapUsageKHR, pub data: DeviceAddress, pub triangle_array: DeviceAddress, pub triangle_array_stride: DeviceSize, /* private fields */ }
Native structure VkAccelerationStructureGeometryMicromapDataKHR.

Contract

Native structure VkAccelerationStructureGeometryMicromapDataKHR.

Khronos reference: VkAccelerationStructureGeometryMicromapDataKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

usage_counts_count

Field
usage_counts_count: u32

Native field usageCountsCount.

p_usage_counts

Field
p_usage_counts: *const MicromapUsageKHR

Native field pUsageCounts.

pp_usage_counts

Field
pp_usage_counts: *const *const MicromapUsageKHR

Native field ppUsageCounts.

data

Field
data: DeviceAddress

Native field data.

triangle_array

Field
triangle_array: DeviceAddress

Native field triangleArray.

triangle_array_stride

Field
triangle_array_stride: DeviceSize

Native field triangleArrayStride.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_usage_counts_count

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

Set native count usageCountsCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_usage_counts

Method
pub fn set_usage_counts( self, value: &'a [MicromapUsageKHR], ) -> Result<Self, ConstructionError>

Borrow pUsageCounts and set checked native count usageCountsCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

set_pp_usage_counts

Method
pub fn set_pp_usage_counts( self, value: &'a [*const MicromapUsageKHR], ) -> Result<Self, ConstructionError>

Borrow ppUsageCounts and set checked native count usageCountsCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

set_data

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

Set native field data without native effects.

set_triangle_array

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

Set native field triangleArray without native effects.

set_triangle_array_stride

Method
pub fn set_triangle_array_stride(self, value: DeviceSize) -> Self

Set native field triangleArrayStride 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::AccelerationStructureGeometryMotionTrianglesDataNV

pub struct AccelerationStructureGeometryMotionTrianglesDataNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub vertex_data: DeviceOrHostAddressConstKHR, /* private fields */ }
Native structure VkAccelerationStructureGeometryMotionTrianglesDataNV.

Contract

Native structure VkAccelerationStructureGeometryMotionTrianglesDataNV.

Khronos reference: VkAccelerationStructureGeometryMotionTrianglesDataNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

vertex_data

Field
vertex_data: DeviceOrHostAddressConstKHR

Native field vertexData.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_vertex_data

Method
pub fn set_vertex_data(self, value: DeviceOrHostAddressConstKHR) -> Self

Set native field vertexData 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::AccelerationStructureGeometrySpheresDataNV

pub struct AccelerationStructureGeometrySpheresDataNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub vertex_format: Format, pub vertex_data: DeviceOrHostAddressConstKHR, pub vertex_stride: DeviceSize, pub radius_format: Format, pub radius_data: DeviceOrHostAddressConstKHR, pub radius_stride: DeviceSize, pub index_type: IndexType, pub index_data: DeviceOrHostAddressConstKHR, pub index_stride: DeviceSize, /* private fields */ }
Native structure VkAccelerationStructureGeometrySpheresDataNV.

Contract

Native structure VkAccelerationStructureGeometrySpheresDataNV.

Khronos reference: VkAccelerationStructureGeometrySpheresDataNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

vertex_format

Field
vertex_format: Format

Native field vertexFormat.

vertex_data

Field
vertex_data: DeviceOrHostAddressConstKHR

Native field vertexData.

vertex_stride

Field
vertex_stride: DeviceSize

Native field vertexStride.

radius_format

Field
radius_format: Format

Native field radiusFormat.

radius_data

Field
radius_data: DeviceOrHostAddressConstKHR

Native field radiusData.

radius_stride

Field
radius_stride: DeviceSize

Native field radiusStride.

index_type

Field
index_type: IndexType

Native field indexType.

index_data

Field
index_data: DeviceOrHostAddressConstKHR

Native field indexData.

index_stride

Field
index_stride: DeviceSize

Native field indexStride.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_vertex_format

Method
pub fn set_vertex_format(self, value: Format) -> Self

Set native field vertexFormat without native effects.

set_vertex_data

Method
pub fn set_vertex_data(self, value: DeviceOrHostAddressConstKHR) -> Self

Set native field vertexData without native effects.

set_vertex_stride

Method
pub fn set_vertex_stride(self, value: DeviceSize) -> Self

Set native field vertexStride without native effects.

set_radius_format

Method
pub fn set_radius_format(self, value: Format) -> Self

Set native field radiusFormat without native effects.

set_radius_data

Method
pub fn set_radius_data(self, value: DeviceOrHostAddressConstKHR) -> Self

Set native field radiusData without native effects.

set_radius_stride

Method
pub fn set_radius_stride(self, value: DeviceSize) -> Self

Set native field radiusStride without native effects.

set_index_type

Method
pub fn set_index_type(self, value: IndexType) -> Self

Set native field indexType without native effects.

set_index_data

Method
pub fn set_index_data(self, value: DeviceOrHostAddressConstKHR) -> Self

Set native field indexData without native effects.

set_index_stride

Method
pub fn set_index_stride(self, value: DeviceSize) -> Self

Set native field indexStride 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::AccelerationStructureGeometryTrianglesDataKHR

pub struct AccelerationStructureGeometryTrianglesDataKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub vertex_format: Format, pub vertex_data: DeviceOrHostAddressConstKHR, pub vertex_stride: DeviceSize, pub max_vertex: u32, pub index_type: IndexType, pub index_data: DeviceOrHostAddressConstKHR, pub transform_data: DeviceOrHostAddressConstKHR, /* private fields */ }
Native structure VkAccelerationStructureGeometryTrianglesDataKHR.

Contract

Native structure VkAccelerationStructureGeometryTrianglesDataKHR.

Khronos reference: VkAccelerationStructureGeometryTrianglesDataKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

vertex_format

Field
vertex_format: Format

Native field vertexFormat.

vertex_data

Field
vertex_data: DeviceOrHostAddressConstKHR

Native field vertexData.

vertex_stride

Field
vertex_stride: DeviceSize

Native field vertexStride.

max_vertex

Field
max_vertex: u32

Native field maxVertex.

index_type

Field
index_type: IndexType

Native field indexType.

index_data

Field
index_data: DeviceOrHostAddressConstKHR

Native field indexData.

transform_data

Field
transform_data: DeviceOrHostAddressConstKHR

Native field transformData.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_vertex_format

Method
pub fn set_vertex_format(self, value: Format) -> Self

Set native field vertexFormat without native effects.

set_vertex_data

Method
pub fn set_vertex_data(self, value: DeviceOrHostAddressConstKHR) -> Self

Set native field vertexData without native effects.

set_vertex_stride

Method
pub fn set_vertex_stride(self, value: DeviceSize) -> Self

Set native field vertexStride without native effects.

set_max_vertex

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

Set native field maxVertex without native effects.

set_index_type

Method
pub fn set_index_type(self, value: IndexType) -> Self

Set native field indexType without native effects.

set_index_data

Method
pub fn set_index_data(self, value: DeviceOrHostAddressConstKHR) -> Self

Set native field indexData without native effects.

set_transform_data

Method
pub fn set_transform_data(self, value: DeviceOrHostAddressConstKHR) -> Self

Set native field transformData 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::AccelerationStructureInfoNV

pub struct AccelerationStructureInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub type: AccelerationStructureTypeNV, pub flags: BuildAccelerationStructureFlagsKHR, pub instance_count: u32, pub geometry_count: u32, pub p_geometries: *const GeometryNV<'a>, /* private fields */ }
Native structure VkAccelerationStructureInfoNV.

Contract

Native structure VkAccelerationStructureInfoNV.

Khronos reference: VkAccelerationStructureInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

type

Field
type: AccelerationStructureTypeNV

Native field type.

flags

Field
flags: BuildAccelerationStructureFlagsKHR

Native field flags.

instance_count

Field
instance_count: u32

Native field instanceCount.

geometry_count

Field
geometry_count: u32

Native field geometryCount.

p_geometries

Field
p_geometries: *const GeometryNV<'a>

Native field pGeometries.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_type

Method
pub fn set_type(self, value: AccelerationStructureTypeNV) -> Self

Set native field type without native effects.

set_flags

Method
pub fn set_flags(self, value: BuildAccelerationStructureFlagsKHR) -> Self

Set native field flags without native effects.

set_instance_count

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

Set native field instanceCount without native effects.

set_geometry_count

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

Set native count geometryCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_geometries

Method
pub fn set_geometries( self, value: &'a [GeometryNV<'a>], ) -> Result<Self, ConstructionError>

Borrow pGeometries and set checked native count geometryCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

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

#[repr(C)]pub struct AccelerationStructureInstanceKHR { pub transform: TransformMatrixKHR, pub _bitfield_1: u32, pub _bitfield_2: u32, pub acceleration_structure_reference: u64, }
Native structure VkAccelerationStructureInstanceKHR.

Contract

Native structure VkAccelerationStructureInstanceKHR.

Khronos reference: VkAccelerationStructureInstanceKHR

Fields

transform

Field
transform: TransformMatrixKHR

Native field transform.

_bitfield_1

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

_bitfield_2

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

acceleration_structure_reference

Field
acceleration_structure_reference: u64

Native field accelerationStructureReference.

Methods and associated items

instance_custom_index

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

Read native bitfield instanceCustomIndex.

set_instance_custom_index

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

Set native bitfield instanceCustomIndex, retaining its low 24 bits.

mask

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

Read native bitfield mask.

set_mask

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

Set native bitfield mask, retaining its low 8 bits.

instance_shader_binding_table_record_offset

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

Read native bitfield instanceShaderBindingTableRecordOffset.

set_instance_shader_binding_table_record_offset

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

Set native bitfield instanceShaderBindingTableRecordOffset, retaining its low 24 bits.

flags

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

Read native bitfield flags.

set_flags

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

Set native bitfield flags, retaining its low 8 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_transform

Method
pub fn set_transform(self, value: TransformMatrixKHR) -> Self

Set native field transform without native effects.

set_acceleration_structure_reference

Method
pub fn set_acceleration_structure_reference(self, value: u64) -> Self

Set native field accelerationStructureReference without native effects.

clone

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

Stvk::AccelerationStructureKHR

Contract

Raw Vulkan handle VkAccelerationStructureKHR.

Khronos reference: VkAccelerationStructureKHR Calls using this identity must satisfy Vulkan lifetime and synchronization rules.

Fields

0

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

Methods and associated items

NULL

Method
pub const NULL: Self
No public source comment is attached to this declaration.

is_null

Method
pub fn is_null(self) -> bool
No public source comment is attached to this declaration.

from_raw

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

as_raw

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

clone

Method
fn clone(&self) -> AccelerationStructureKHR
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

eq

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

Stvk::AccelerationStructureMatrixMotionInstanceNV

#[repr(C)]pub struct AccelerationStructureMatrixMotionInstanceNV { pub transform_t0: TransformMatrixKHR, pub transform_t1: TransformMatrixKHR, pub _bitfield_1: u32, pub _bitfield_2: u32, pub acceleration_structure_reference: u64, }
Native structure VkAccelerationStructureMatrixMotionInstanceNV.

Contract

Native structure VkAccelerationStructureMatrixMotionInstanceNV.

Khronos reference: VkAccelerationStructureMatrixMotionInstanceNV

Fields

transform_t0

Field
transform_t0: TransformMatrixKHR

Native field transformT0.

transform_t1

Field
transform_t1: TransformMatrixKHR

Native field transformT1.

_bitfield_1

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

_bitfield_2

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

acceleration_structure_reference

Field
acceleration_structure_reference: u64

Native field accelerationStructureReference.

Methods and associated items

instance_custom_index

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

Read native bitfield instanceCustomIndex.

set_instance_custom_index

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

Set native bitfield instanceCustomIndex, retaining its low 24 bits.

mask

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

Read native bitfield mask.

set_mask

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

Set native bitfield mask, retaining its low 8 bits.

instance_shader_binding_table_record_offset

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

Read native bitfield instanceShaderBindingTableRecordOffset.

set_instance_shader_binding_table_record_offset

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

Set native bitfield instanceShaderBindingTableRecordOffset, retaining its low 24 bits.

flags

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

Read native bitfield flags.

set_flags

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

Set native bitfield flags, retaining its low 8 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_transform_t0

Method
pub fn set_transform_t0(self, value: TransformMatrixKHR) -> Self

Set native field transformT0 without native effects.

set_transform_t1

Method
pub fn set_transform_t1(self, value: TransformMatrixKHR) -> Self

Set native field transformT1 without native effects.

set_acceleration_structure_reference

Method
pub fn set_acceleration_structure_reference(self, value: u64) -> Self

Set native field accelerationStructureReference without native effects.

clone

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

Stvk::AccelerationStructureMemoryRequirementsInfoNV

pub struct AccelerationStructureMemoryRequirementsInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub type: AccelerationStructureMemoryRequirementsTypeNV, pub acceleration_structure: AccelerationStructureNV, /* private fields */ }
Native structure VkAccelerationStructureMemoryRequirementsInfoNV.

Contract

Native structure VkAccelerationStructureMemoryRequirementsInfoNV.

Khronos reference: VkAccelerationStructureMemoryRequirementsInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

type

Field
type: AccelerationStructureMemoryRequirementsTypeNV

Native field type.

acceleration_structure

Field
acceleration_structure: AccelerationStructureNV

Native field accelerationStructure.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_type

Method
pub fn set_type( self, value: AccelerationStructureMemoryRequirementsTypeNV, ) -> Self

Set native field type without native effects.

set_acceleration_structure

Method
pub fn set_acceleration_structure(self, value: AccelerationStructureNV) -> Self

Set native field accelerationStructure 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::AccelerationStructureMemoryRequirementsTypeNV

Contract

Open integer representation of VkAccelerationStructureMemoryRequirementsTypeNV.

Khronos reference: VkAccelerationStructureMemoryRequirementsTypeNV

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.

clone

Method
fn clone(&self) -> AccelerationStructureMemoryRequirementsTypeNV
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() -> AccelerationStructureMemoryRequirementsTypeNV
Returns the “default value” for a type. Read more

eq

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

Stvk::AccelerationStructureMotionInfoFlagsNV

Contract

Open integer representation of VkAccelerationStructureMotionInfoFlagsNV.

Khronos reference: VkAccelerationStructureMotionInfoFlagsNV

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 = AccelerationStructureMotionInfoFlagsNV
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> AccelerationStructureMotionInfoFlagsNV
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() -> AccelerationStructureMotionInfoFlagsNV
Returns the “default value” for a type. Read more

Output-3

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

eq

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

Stvk::AccelerationStructureMotionInfoNV

pub struct AccelerationStructureMotionInfoNV<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub max_instances: u32, pub flags: AccelerationStructureMotionInfoFlagsNV, /* private fields */ }
Native structure VkAccelerationStructureMotionInfoNV.

Contract

Native structure VkAccelerationStructureMotionInfoNV.

Khronos reference: VkAccelerationStructureMotionInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

max_instances

Field
max_instances: u32

Native field maxInstances.

flags

Field
flags: AccelerationStructureMotionInfoFlagsNV

Native field flags.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_max_instances

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

Set native field maxInstances without native effects.

set_flags

Method
pub fn set_flags(self, value: AccelerationStructureMotionInfoFlagsNV) -> Self

Set native field flags 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::AccelerationStructureMotionInstanceFlagsNV

Contract

Open integer representation of VkAccelerationStructureMotionInstanceFlagsNV.

Khronos reference: VkAccelerationStructureMotionInstanceFlagsNV

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 = AccelerationStructureMotionInstanceFlagsNV
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> AccelerationStructureMotionInstanceFlagsNV
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() -> AccelerationStructureMotionInstanceFlagsNV
Returns the “default value” for a type. Read more

Output-3

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

eq

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

Stvk::AccelerationStructureMotionInstanceNV

#[repr(C)]pub struct AccelerationStructureMotionInstanceNV { pub type: AccelerationStructureMotionInstanceTypeNV, pub flags: AccelerationStructureMotionInstanceFlagsNV, pub data: AccelerationStructureMotionInstanceDataNV, }
Native structure VkAccelerationStructureMotionInstanceNV.

Contract

Native structure VkAccelerationStructureMotionInstanceNV.

Khronos reference: VkAccelerationStructureMotionInstanceNV

Fields

type

Field
type: AccelerationStructureMotionInstanceTypeNV

Native field type.

flags

Field
flags: AccelerationStructureMotionInstanceFlagsNV

Native field flags.

data

Field
data: AccelerationStructureMotionInstanceDataNV

Native field data.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_type

Method
pub fn set_type(self, value: AccelerationStructureMotionInstanceTypeNV) -> Self

Set native field type without native effects.

set_flags

Method
pub fn set_flags( self, value: AccelerationStructureMotionInstanceFlagsNV, ) -> Self

Set native field flags without native effects.

set_data

Method
pub fn set_data(self, value: AccelerationStructureMotionInstanceDataNV) -> Self

Set native field data without native effects.

clone

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

Stvk::AccelerationStructureMotionInstanceTypeNV

Contract

Open integer representation of VkAccelerationStructureMotionInstanceTypeNV.

Khronos reference: VkAccelerationStructureMotionInstanceTypeNV

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.

clone

Method
fn clone(&self) -> AccelerationStructureMotionInstanceTypeNV
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() -> AccelerationStructureMotionInstanceTypeNV
Returns the “default value” for a type. Read more

eq

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