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