#[repr(C)]pub struct ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV {Show 14 fields
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,
}Fields§
§cluster_id: u32§cluster_flags: ClusterAccelerationStructureClusterFlagsNV§_bitfield_1: u32§base_geometry_index_and_geometry_flags: ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV§index_buffer_stride: u16§vertex_buffer_stride: u16§geometry_index_and_flags_buffer_stride: u16§opacity_micromap_index_buffer_stride: u16§index_buffer: DeviceAddress§vertex_buffer: DeviceAddress§geometry_index_and_flags_buffer: DeviceAddress§opacity_micromap_array: DeviceAddress§opacity_micromap_index_buffer: DeviceAddress§instantiation_bounding_box_limit: DeviceAddressImplementations§
Source§impl ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV
impl ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV
pub const fn triangle_count(&self) -> u32
pub fn set_triangle_count(&mut self, value: u32)
pub const fn vertex_count(&self) -> u32
pub fn set_vertex_count(&mut self, value: u32)
pub const fn position_truncate_bit_count(&self) -> u32
pub fn set_position_truncate_bit_count(&mut self, value: u32)
pub const fn index_type(&self) -> u32
pub fn set_index_type(&mut self, value: u32)
pub const fn opacity_micromap_index_type(&self) -> u32
pub fn set_opacity_micromap_index_type(&mut self, value: u32)
Trait Implementations§
impl Copy for ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV
Auto Trait Implementations§
impl Freeze for ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV
impl RefUnwindSafe for ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV
impl Send for ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV
impl Sync for ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV
impl Unpin for ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV
impl UnsafeUnpin for ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV
impl UnwindSafe for ClusterAccelerationStructureBuildTriangleClusterTemplateInfoNV
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more