Skip to main content

AccelerationStructureGeometryLinearSweptSpheresDataNV

Struct AccelerationStructureGeometryLinearSweptSpheresDataNV 

Source
#[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>

Source

pub fn vertex_format(self, vertex_format: Format) -> Self

Source

pub fn vertex_data(self, vertex_data: DeviceOrHostAddressConstKHR) -> Self

Source

pub fn vertex_stride(self, vertex_stride: DeviceSize) -> Self

Source

pub fn radius_format(self, radius_format: Format) -> Self

Source

pub fn radius_data(self, radius_data: DeviceOrHostAddressConstKHR) -> Self

Source

pub fn radius_stride(self, radius_stride: DeviceSize) -> Self

Source

pub fn index_type(self, index_type: IndexType) -> Self

Source

pub fn index_data(self, index_data: DeviceOrHostAddressConstKHR) -> Self

Source

pub fn index_stride(self, index_stride: DeviceSize) -> Self

Source

pub fn indexing_mode(self, indexing_mode: RayTracingLssIndexingModeNV) -> Self

Source

pub fn end_caps_mode( self, end_caps_mode: RayTracingLssPrimitiveEndCapsModeNV, ) -> Self

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.