#[repr(C)]pub struct AccelerationStructureTrianglesDisplacementMicromapNV {Show 18 fields
pub s_type: StructureType,
pub p_next: *mut c_void,
pub displacement_bias_and_scale_format: Format,
pub displacement_vector_format: Format,
pub displacement_bias_and_scale_buffer: DeviceOrHostAddressConstKHR,
pub displacement_bias_and_scale_stride: u64,
pub displacement_vector_buffer: DeviceOrHostAddressConstKHR,
pub displacement_vector_stride: u64,
pub displaced_micromap_primitive_flags: DeviceOrHostAddressConstKHR,
pub displaced_micromap_primitive_flags_stride: u64,
pub index_type: IndexType,
pub index_buffer: DeviceOrHostAddressConstKHR,
pub index_stride: u64,
pub base_triangle: u32,
pub usage_counts_count: u32,
pub p_usage_counts: *const MicromapUsageEXT,
pub pp_usage_counts: *const *const MicromapUsageEXT,
pub micromap: MicromapEXT,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§displacement_bias_and_scale_format: Format
§displacement_vector_format: Format
§displacement_bias_and_scale_buffer: DeviceOrHostAddressConstKHR
§displacement_bias_and_scale_stride: u64
§displacement_vector_buffer: DeviceOrHostAddressConstKHR
§displacement_vector_stride: u64
§displaced_micromap_primitive_flags: DeviceOrHostAddressConstKHR
§displaced_micromap_primitive_flags_stride: u64
§index_type: IndexType
§index_buffer: DeviceOrHostAddressConstKHR
§index_stride: u64
§base_triangle: u32
§usage_counts_count: u32
§p_usage_counts: *const MicromapUsageEXT
§pp_usage_counts: *const *const MicromapUsageEXT
§micromap: MicromapEXT
Implementations§
Trait Implementations§
source§impl Clone for AccelerationStructureTrianglesDisplacementMicromapNV
impl Clone for AccelerationStructureTrianglesDisplacementMicromapNV
source§fn clone(&self) -> AccelerationStructureTrianglesDisplacementMicromapNV
fn clone(&self) -> AccelerationStructureTrianglesDisplacementMicromapNV
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AccelerationStructureTrianglesDisplacementMicromapNV
impl Default for AccelerationStructureTrianglesDisplacementMicromapNV
source§fn default() -> AccelerationStructureTrianglesDisplacementMicromapNV
fn default() -> AccelerationStructureTrianglesDisplacementMicromapNV
Returns the “default value” for a type. Read more
source§impl TaggedStructure for AccelerationStructureTrianglesDisplacementMicromapNV
impl TaggedStructure for AccelerationStructureTrianglesDisplacementMicromapNV
const STRUCTURE_TYPE: StructureType = StructureType::ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NV
impl Copy for AccelerationStructureTrianglesDisplacementMicromapNV
impl ExtendsAccelerationStructureGeometryTrianglesDataKHR for AccelerationStructureTrianglesDisplacementMicromapNV
Auto Trait Implementations§
impl RefUnwindSafe for AccelerationStructureTrianglesDisplacementMicromapNV
impl !Send for AccelerationStructureTrianglesDisplacementMicromapNV
impl !Sync for AccelerationStructureTrianglesDisplacementMicromapNV
impl Unpin for AccelerationStructureTrianglesDisplacementMicromapNV
impl UnwindSafe for AccelerationStructureTrianglesDisplacementMicromapNV
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.