Struct ash::vk::AccelerationStructureInfoNV
source · #[repr(C)]pub struct AccelerationStructureInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub ty: AccelerationStructureTypeNV,
pub flags: BuildAccelerationStructureFlagsNV,
pub instance_count: u32,
pub geometry_count: u32,
pub p_geometries: *const GeometryNV<'a>,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§ty: AccelerationStructureTypeNV
§flags: BuildAccelerationStructureFlagsNV
§instance_count: u32
§geometry_count: u32
§p_geometries: *const GeometryNV<'a>
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> AccelerationStructureInfoNV<'a>
impl<'a> AccelerationStructureInfoNV<'a>
pub fn ty(self, ty: AccelerationStructureTypeNV) -> Self
pub fn flags(self, flags: BuildAccelerationStructureFlagsNV) -> Self
pub fn instance_count(self, instance_count: u32) -> Self
pub fn geometries(self, geometries: &'a [GeometryNV<'a>]) -> Self
Trait Implementations§
source§impl<'a> Clone for AccelerationStructureInfoNV<'a>
impl<'a> Clone for AccelerationStructureInfoNV<'a>
source§fn clone(&self) -> AccelerationStructureInfoNV<'a>
fn clone(&self) -> AccelerationStructureInfoNV<'a>
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<'a> Debug for AccelerationStructureInfoNV<'a>
impl<'a> Debug for AccelerationStructureInfoNV<'a>
source§impl Default for AccelerationStructureInfoNV<'_>
impl Default for AccelerationStructureInfoNV<'_>
source§impl<'a> TaggedStructure for AccelerationStructureInfoNV<'a>
impl<'a> TaggedStructure for AccelerationStructureInfoNV<'a>
const STRUCTURE_TYPE: StructureType = StructureType::ACCELERATION_STRUCTURE_INFO_NV
impl<'a> Copy for AccelerationStructureInfoNV<'a>
impl Send for AccelerationStructureInfoNV<'_>
impl Sync for AccelerationStructureInfoNV<'_>
Auto Trait Implementations§
impl<'a> Freeze for AccelerationStructureInfoNV<'a>
impl<'a> RefUnwindSafe for AccelerationStructureInfoNV<'a>
impl<'a> Unpin for AccelerationStructureInfoNV<'a>
impl<'a> UnwindSafe for AccelerationStructureInfoNV<'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