#[repr(C)]pub struct AccelerationStructureBuildSizesInfoKHR {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub acceleration_structure_size: u64,
pub update_scratch_size: u64,
pub build_scratch_size: u64,
}Expand description
VkAccelerationStructureBuildSizesInfoKHR
Provided by VK_KHR_acceleration_structure.
Returned only*, filled by Vulkan, not constructed by the application.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_BUILD_SIZES_INFO_KHR.
p_next: *mut c_voidOptional, may be null.
acceleration_structure_size: u64§update_scratch_size: u64§build_scratch_size: u64Implementations§
Source§impl AccelerationStructureBuildSizesInfoKHR
impl AccelerationStructureBuildSizesInfoKHR
Sourcepub fn builder<'a>() -> AccelerationStructureBuildSizesInfoKHRBuilder<'a>
pub fn builder<'a>() -> AccelerationStructureBuildSizesInfoKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for AccelerationStructureBuildSizesInfoKHR
impl Clone for AccelerationStructureBuildSizesInfoKHR
Source§fn clone(&self) -> AccelerationStructureBuildSizesInfoKHR
fn clone(&self) -> AccelerationStructureBuildSizesInfoKHR
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 AccelerationStructureBuildSizesInfoKHR
impl Default for AccelerationStructureBuildSizesInfoKHR
Source§fn default() -> AccelerationStructureBuildSizesInfoKHR
fn default() -> AccelerationStructureBuildSizesInfoKHR
Returns the “default value” for a type. Read more
impl Copy for AccelerationStructureBuildSizesInfoKHR
Auto Trait Implementations§
impl Freeze for AccelerationStructureBuildSizesInfoKHR
impl RefUnwindSafe for AccelerationStructureBuildSizesInfoKHR
impl !Send for AccelerationStructureBuildSizesInfoKHR
impl !Sync for AccelerationStructureBuildSizesInfoKHR
impl Unpin for AccelerationStructureBuildSizesInfoKHR
impl UnsafeUnpin for AccelerationStructureBuildSizesInfoKHR
impl UnwindSafe for AccelerationStructureBuildSizesInfoKHR
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