#[repr(C)]pub struct AccelerationStructureGeometrySpheresDataNV {
pub s_type: StructureType,
pub p_next: *const c_void,
pub vertex_format: Format,
pub vertex_data: DeviceOrHostAddressConstKHR,
pub vertex_stride: u64,
pub radius_format: Format,
pub radius_data: DeviceOrHostAddressConstKHR,
pub radius_stride: u64,
pub index_type: IndexType,
pub index_data: DeviceOrHostAddressConstKHR,
pub index_stride: u64,
}Expand description
VkAccelerationStructureGeometrySpheresDataNV
Provided by VK_NV_ray_tracing_linear_swept_spheres.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_SPHERES_DATA_NV.
p_next: *const c_voidOptional, may be null.
vertex_format: Format§vertex_data: DeviceOrHostAddressConstKHR§vertex_stride: u64§radius_format: Format§radius_data: DeviceOrHostAddressConstKHR§radius_stride: u64§index_type: IndexType§index_data: DeviceOrHostAddressConstKHR§index_stride: u64Implementations§
Source§impl AccelerationStructureGeometrySpheresDataNV
impl AccelerationStructureGeometrySpheresDataNV
Sourcepub fn builder<'a>() -> AccelerationStructureGeometrySpheresDataNVBuilder<'a>
pub fn builder<'a>() -> AccelerationStructureGeometrySpheresDataNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for AccelerationStructureGeometrySpheresDataNV
impl Clone for AccelerationStructureGeometrySpheresDataNV
Source§fn clone(&self) -> AccelerationStructureGeometrySpheresDataNV
fn clone(&self) -> AccelerationStructureGeometrySpheresDataNV
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 moreimpl Copy for AccelerationStructureGeometrySpheresDataNV
impl ExtendsAccelerationStructureGeometryKHR for AccelerationStructureGeometrySpheresDataNV
Auto Trait Implementations§
impl Freeze for AccelerationStructureGeometrySpheresDataNV
impl RefUnwindSafe for AccelerationStructureGeometrySpheresDataNV
impl !Send for AccelerationStructureGeometrySpheresDataNV
impl !Sync for AccelerationStructureGeometrySpheresDataNV
impl Unpin for AccelerationStructureGeometrySpheresDataNV
impl UnsafeUnpin for AccelerationStructureGeometrySpheresDataNV
impl UnwindSafe for AccelerationStructureGeometrySpheresDataNV
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