#[repr(C)]pub struct GeometryAABBNV {
pub s_type: StructureType,
pub p_next: *const c_void,
pub aabb_data: Buffer,
pub num_aab_bs: u32,
pub stride: u32,
pub offset: u64,
}Expand description
VkGeometryAABBNV
Provided by VK_NV_ray_tracing.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV.
p_next: *const c_voidOptional, may be null.
aabb_data: Buffer§num_aab_bs: u32§stride: u32§offset: u64Implementations§
Source§impl GeometryAABBNV
impl GeometryAABBNV
Sourcepub fn builder<'a>() -> GeometryAABBNVBuilder<'a>
pub fn builder<'a>() -> GeometryAABBNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for GeometryAABBNV
impl Clone for GeometryAABBNV
Source§fn clone(&self) -> GeometryAABBNV
fn clone(&self) -> GeometryAABBNV
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 GeometryAABBNV
impl Debug for GeometryAABBNV
Source§impl Default for GeometryAABBNV
impl Default for GeometryAABBNV
impl Copy for GeometryAABBNV
Auto Trait Implementations§
impl Freeze for GeometryAABBNV
impl RefUnwindSafe for GeometryAABBNV
impl !Send for GeometryAABBNV
impl !Sync for GeometryAABBNV
impl Unpin for GeometryAABBNV
impl UnsafeUnpin for GeometryAABBNV
impl UnwindSafe for GeometryAABBNV
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