#[repr(C)]pub struct AccelerationStructureInfoNV {
pub s_type: StructureType,
pub p_next: *const c_void,
pub type: AccelerationStructureTypeKHR,
pub flags: BuildAccelerationStructureFlagBitsKHR,
pub instance_count: u32,
pub geometry_count: u32,
pub p_geometries: *const GeometryNV,
}Expand description
VkAccelerationStructureInfoNV
Provided by VK_NV_ray_tracing.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_INFO_NV.
p_next: *const c_voidOptional, may be null.
type: AccelerationStructureTypeKHR§flags: BuildAccelerationStructureFlagBitsKHR§instance_count: u32§geometry_count: u32Length of p_geometries.
p_geometries: *const GeometryNVImplementations§
Source§impl AccelerationStructureInfoNV
impl AccelerationStructureInfoNV
Sourcepub fn builder<'a>() -> AccelerationStructureInfoNVBuilder<'a>
pub fn builder<'a>() -> AccelerationStructureInfoNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for AccelerationStructureInfoNV
impl Clone for AccelerationStructureInfoNV
Source§fn clone(&self) -> AccelerationStructureInfoNV
fn clone(&self) -> AccelerationStructureInfoNV
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 AccelerationStructureInfoNV
impl Debug for AccelerationStructureInfoNV
Source§impl Default for AccelerationStructureInfoNV
impl Default for AccelerationStructureInfoNV
Source§fn default() -> AccelerationStructureInfoNV
fn default() -> AccelerationStructureInfoNV
Returns the “default value” for a type. Read more
impl Copy for AccelerationStructureInfoNV
Auto Trait Implementations§
impl Freeze for AccelerationStructureInfoNV
impl RefUnwindSafe for AccelerationStructureInfoNV
impl !Send for AccelerationStructureInfoNV
impl !Sync for AccelerationStructureInfoNV
impl Unpin for AccelerationStructureInfoNV
impl UnsafeUnpin for AccelerationStructureInfoNV
impl UnwindSafe for AccelerationStructureInfoNV
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