#[repr(C)]pub struct AccelerationStructureCreateInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub create_flags: AccelerationStructureCreateFlagsKHR,
pub buffer: Buffer,
pub offset: DeviceSize,
pub size: DeviceSize,
pub ty: AccelerationStructureTypeKHR,
pub device_address: DeviceAddress,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§create_flags: AccelerationStructureCreateFlagsKHR
§buffer: Buffer
§offset: DeviceSize
§size: DeviceSize
§ty: AccelerationStructureTypeKHR
§device_address: DeviceAddress
Implementations§
Source§impl AccelerationStructureCreateInfoKHR
impl AccelerationStructureCreateInfoKHR
pub fn builder<'a>() -> AccelerationStructureCreateInfoKHRBuilder<'a>
Trait Implementations§
Source§impl Clone for AccelerationStructureCreateInfoKHR
impl Clone for AccelerationStructureCreateInfoKHR
Source§fn clone(&self) -> AccelerationStructureCreateInfoKHR
fn clone(&self) -> AccelerationStructureCreateInfoKHR
Returns a copy 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 TaggedStructure for AccelerationStructureCreateInfoKHR
impl TaggedStructure for AccelerationStructureCreateInfoKHR
const STRUCTURE_TYPE: StructureType = StructureType::ACCELERATION_STRUCTURE_CREATE_INFO_KHR
impl Copy for AccelerationStructureCreateInfoKHR
Auto Trait Implementations§
impl Freeze for AccelerationStructureCreateInfoKHR
impl RefUnwindSafe for AccelerationStructureCreateInfoKHR
impl !Send for AccelerationStructureCreateInfoKHR
impl !Sync for AccelerationStructureCreateInfoKHR
impl Unpin for AccelerationStructureCreateInfoKHR
impl UnwindSafe for AccelerationStructureCreateInfoKHR
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)