Realm

vk · Structs · B5

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

StRustExperimental

Stvk::BuildMicromapFlagBitsEXT

Contract

Open integer representation of VkBuildMicromapFlagBitsEXT.

Khronos reference: VkBuildMicromapFlagBitsEXT

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::BuildMicromapModeEXT

Contract

Open integer representation of VkBuildMicromapModeEXT.

Khronos reference: VkBuildMicromapModeEXT

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) -> BuildMicromapModeEXT
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() -> BuildMicromapModeEXT
Returns the “default value” for a type. Read more

eq

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

Stvk::BuildPartitionedAccelerationStructureIndirectCommandNV

#[repr(C)]pub struct BuildPartitionedAccelerationStructureIndirectCommandNV { pub op_type: PartitionedAccelerationStructureOpTypeNV, pub arg_count: u32, pub arg_data: StridedDeviceAddressNV, }
Native structure VkBuildPartitionedAccelerationStructureIndirectCommandNV.

Contract

Native structure VkBuildPartitionedAccelerationStructureIndirectCommandNV.

Khronos reference: VkBuildPartitionedAccelerationStructureIndirectCommandNV

Fields

op_type

Field
op_type: PartitionedAccelerationStructureOpTypeNV

Native field opType.

arg_count

Field
arg_count: u32

Native field argCount.

arg_data

Field
arg_data: StridedDeviceAddressNV

Native field argData.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_op_type

Method
pub fn set_op_type( self, value: PartitionedAccelerationStructureOpTypeNV, ) -> Self

Set native field opType without native effects.

set_arg_count

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

Set native field argCount without native effects.

set_arg_data

Method
pub fn set_arg_data(self, value: StridedDeviceAddressNV) -> Self

Set native field argData without native effects.

clone

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

Stvk::BuildPartitionedAccelerationStructureInfoNV

pub struct BuildPartitionedAccelerationStructureInfoNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub input: PartitionedAccelerationStructureInstancesInputNV<'a>, pub src_acceleration_structure_data: DeviceAddress, pub dst_acceleration_structure_data: DeviceAddress, pub scratch_data: DeviceAddress, pub src_infos: DeviceAddress, pub src_infos_count: DeviceAddress, /* private fields */ }
Native structure VkBuildPartitionedAccelerationStructureInfoNV.

Contract

Native structure VkBuildPartitionedAccelerationStructureInfoNV.

Khronos reference: VkBuildPartitionedAccelerationStructureInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

input

Field
input: PartitionedAccelerationStructureInstancesInputNV<'a>

Native field input.

src_acceleration_structure_data

Field
src_acceleration_structure_data: DeviceAddress

Native field srcAccelerationStructureData.

dst_acceleration_structure_data

Field
dst_acceleration_structure_data: DeviceAddress

Native field dstAccelerationStructureData.

scratch_data

Field
scratch_data: DeviceAddress

Native field scratchData.

src_infos

Field
src_infos: DeviceAddress

Native field srcInfos.

src_infos_count

Field
src_infos_count: DeviceAddress

Native field srcInfosCount.

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: PartitionedAccelerationStructureInstancesInputNV<'a>, ) -> Self

Set native field input without native effects.

set_src_acceleration_structure_data

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

Set native field srcAccelerationStructureData without native effects.

set_dst_acceleration_structure_data

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

Set native field dstAccelerationStructureData without native effects.

set_scratch_data

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

Set native field scratchData without native effects.

set_src_infos

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

Set native field srcInfos 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.

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.