#[repr(C)]pub struct AccelerationStructureCreateInfo2KHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub create_flags: AccelerationStructureCreateFlagsKHR,
pub address_range: DeviceAddressRangeKHR,
pub address_flags: AddressCommandFlagsKHR,
pub type: AccelerationStructureTypeKHR,
}Expand description
VkAccelerationStructureCreateInfo2KHR
Provided by VK_KHR_device_address_commands.
§Extended By
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_2_KHR.
p_next: *const c_voidOptional, may be null.
create_flags: AccelerationStructureCreateFlagsKHR§address_range: DeviceAddressRangeKHR§address_flags: AddressCommandFlagsKHR§type: AccelerationStructureTypeKHRImplementations§
Source§impl AccelerationStructureCreateInfo2KHR
impl AccelerationStructureCreateInfo2KHR
Sourcepub fn builder<'a>() -> AccelerationStructureCreateInfo2KHRBuilder<'a>
pub fn builder<'a>() -> AccelerationStructureCreateInfo2KHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for AccelerationStructureCreateInfo2KHR
impl Clone for AccelerationStructureCreateInfo2KHR
Source§fn clone(&self) -> AccelerationStructureCreateInfo2KHR
fn clone(&self) -> AccelerationStructureCreateInfo2KHR
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 AccelerationStructureCreateInfo2KHR
Auto Trait Implementations§
impl Freeze for AccelerationStructureCreateInfo2KHR
impl RefUnwindSafe for AccelerationStructureCreateInfo2KHR
impl !Send for AccelerationStructureCreateInfo2KHR
impl !Sync for AccelerationStructureCreateInfo2KHR
impl Unpin for AccelerationStructureCreateInfo2KHR
impl UnsafeUnpin for AccelerationStructureCreateInfo2KHR
impl UnwindSafe for AccelerationStructureCreateInfo2KHR
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