#[repr(C)]pub struct AccelerationStructureMemoryRequirementsInfoNV {
pub s_type: StructureType,
pub p_next: *const c_void,
pub type: AccelerationStructureMemoryRequirementsTypeNV,
pub acceleration_structure: AccelerationStructureNV,
}Expand description
VkAccelerationStructureMemoryRequirementsInfoNV
Provided by VK_NV_ray_tracing.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV.
p_next: *const c_voidOptional, may be null.
type: AccelerationStructureMemoryRequirementsTypeNV§acceleration_structure: AccelerationStructureNVImplementations§
Source§impl AccelerationStructureMemoryRequirementsInfoNV
impl AccelerationStructureMemoryRequirementsInfoNV
Sourcepub fn builder<'a>() -> AccelerationStructureMemoryRequirementsInfoNVBuilder<'a>
pub fn builder<'a>() -> AccelerationStructureMemoryRequirementsInfoNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for AccelerationStructureMemoryRequirementsInfoNV
impl Clone for AccelerationStructureMemoryRequirementsInfoNV
Source§fn clone(&self) -> AccelerationStructureMemoryRequirementsInfoNV
fn clone(&self) -> AccelerationStructureMemoryRequirementsInfoNV
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 Default for AccelerationStructureMemoryRequirementsInfoNV
impl Default for AccelerationStructureMemoryRequirementsInfoNV
Source§fn default() -> AccelerationStructureMemoryRequirementsInfoNV
fn default() -> AccelerationStructureMemoryRequirementsInfoNV
Returns the “default value” for a type. Read more
impl Copy for AccelerationStructureMemoryRequirementsInfoNV
Auto Trait Implementations§
impl Freeze for AccelerationStructureMemoryRequirementsInfoNV
impl RefUnwindSafe for AccelerationStructureMemoryRequirementsInfoNV
impl !Send for AccelerationStructureMemoryRequirementsInfoNV
impl !Sync for AccelerationStructureMemoryRequirementsInfoNV
impl Unpin for AccelerationStructureMemoryRequirementsInfoNV
impl UnsafeUnpin for AccelerationStructureMemoryRequirementsInfoNV
impl UnwindSafe for AccelerationStructureMemoryRequirementsInfoNV
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