#[repr(C)]pub struct AccelerationStructureGeometryLinearSweptSpheresDataNV<'a> {Show 14 fields
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,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§vertex_format: Format§vertex_data: DeviceOrHostAddressConstKHR§vertex_stride: DeviceSize§radius_format: Format§radius_data: DeviceOrHostAddressConstKHR§radius_stride: DeviceSize§index_type: IndexType§index_data: DeviceOrHostAddressConstKHR§index_stride: DeviceSize§indexing_mode: RayTracingLssIndexingModeNV§end_caps_mode: RayTracingLssPrimitiveEndCapsModeNV§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> AccelerationStructureGeometryLinearSweptSpheresDataNV<'a>
impl<'a> AccelerationStructureGeometryLinearSweptSpheresDataNV<'a>
pub fn vertex_format(self, vertex_format: Format) -> Self
pub fn vertex_data(self, vertex_data: DeviceOrHostAddressConstKHR) -> Self
pub fn vertex_stride(self, vertex_stride: DeviceSize) -> Self
pub fn radius_format(self, radius_format: Format) -> Self
pub fn radius_data(self, radius_data: DeviceOrHostAddressConstKHR) -> Self
pub fn radius_stride(self, radius_stride: DeviceSize) -> Self
pub fn index_type(self, index_type: IndexType) -> Self
pub fn index_data(self, index_data: DeviceOrHostAddressConstKHR) -> Self
pub fn index_stride(self, index_stride: DeviceSize) -> Self
pub fn indexing_mode(self, indexing_mode: RayTracingLssIndexingModeNV) -> Self
pub fn end_caps_mode( self, end_caps_mode: RayTracingLssPrimitiveEndCapsModeNV, ) -> Self
Trait Implementations§
Source§impl<'a> Clone for AccelerationStructureGeometryLinearSweptSpheresDataNV<'a>
impl<'a> Clone for AccelerationStructureGeometryLinearSweptSpheresDataNV<'a>
Source§fn clone(&self) -> AccelerationStructureGeometryLinearSweptSpheresDataNV<'a>
fn clone(&self) -> AccelerationStructureGeometryLinearSweptSpheresDataNV<'a>
Returns a duplicate 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 Debug for AccelerationStructureGeometryLinearSweptSpheresDataNV<'_>
Available on crate feature debug only.
impl Debug for AccelerationStructureGeometryLinearSweptSpheresDataNV<'_>
Available on crate feature
debug only.Source§impl<'a> TaggedStructure for AccelerationStructureGeometryLinearSweptSpheresDataNV<'a>
impl<'a> TaggedStructure for AccelerationStructureGeometryLinearSweptSpheresDataNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::ACCELERATION_STRUCTURE_GEOMETRY_LINEAR_SWEPT_SPHERES_DATA_NV
impl<'a> Copy for AccelerationStructureGeometryLinearSweptSpheresDataNV<'a>
impl ExtendsAccelerationStructureGeometryKHR for AccelerationStructureGeometryLinearSweptSpheresDataNV<'_>
impl Send for AccelerationStructureGeometryLinearSweptSpheresDataNV<'_>
impl Sync for AccelerationStructureGeometryLinearSweptSpheresDataNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for AccelerationStructureGeometryLinearSweptSpheresDataNV<'a>
impl<'a> RefUnwindSafe for AccelerationStructureGeometryLinearSweptSpheresDataNV<'a>
impl<'a> Unpin for AccelerationStructureGeometryLinearSweptSpheresDataNV<'a>
impl<'a> UnwindSafe for AccelerationStructureGeometryLinearSweptSpheresDataNV<'a>
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