Struct screen_13::prelude::vk::MicromapBuildInfoEXT
source · #[repr(C)]pub struct MicromapBuildInfoEXT {Show 13 fields
pub s_type: StructureType,
pub p_next: *const c_void,
pub ty: MicromapTypeEXT,
pub flags: BuildMicromapFlagsEXT,
pub mode: BuildMicromapModeEXT,
pub dst_micromap: MicromapEXT,
pub usage_counts_count: u32,
pub p_usage_counts: *const MicromapUsageEXT,
pub pp_usage_counts: *const *const MicromapUsageEXT,
pub data: DeviceOrHostAddressConstKHR,
pub scratch_data: DeviceOrHostAddressKHR,
pub triangle_array: DeviceOrHostAddressConstKHR,
pub triangle_array_stride: u64,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§ty: MicromapTypeEXT
§flags: BuildMicromapFlagsEXT
§mode: BuildMicromapModeEXT
§dst_micromap: MicromapEXT
§usage_counts_count: u32
§p_usage_counts: *const MicromapUsageEXT
§pp_usage_counts: *const *const MicromapUsageEXT
§data: DeviceOrHostAddressConstKHR
§scratch_data: DeviceOrHostAddressKHR
§triangle_array: DeviceOrHostAddressConstKHR
§triangle_array_stride: u64
Implementations§
source§impl MicromapBuildInfoEXT
impl MicromapBuildInfoEXT
pub fn builder<'a>() -> MicromapBuildInfoEXTBuilder<'a>
Trait Implementations§
source§impl Clone for MicromapBuildInfoEXT
impl Clone for MicromapBuildInfoEXT
source§fn clone(&self) -> MicromapBuildInfoEXT
fn clone(&self) -> MicromapBuildInfoEXT
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 Debug for MicromapBuildInfoEXT
impl Debug for MicromapBuildInfoEXT
source§impl Default for MicromapBuildInfoEXT
impl Default for MicromapBuildInfoEXT
source§fn default() -> MicromapBuildInfoEXT
fn default() -> MicromapBuildInfoEXT
Returns the “default value” for a type. Read more
source§impl TaggedStructure for MicromapBuildInfoEXT
impl TaggedStructure for MicromapBuildInfoEXT
const STRUCTURE_TYPE: StructureType = StructureType::MICROMAP_BUILD_INFO_EXT
impl Copy for MicromapBuildInfoEXT
Auto Trait Implementations§
impl RefUnwindSafe for MicromapBuildInfoEXT
impl !Send for MicromapBuildInfoEXT
impl !Sync for MicromapBuildInfoEXT
impl Unpin for MicromapBuildInfoEXT
impl UnwindSafe for MicromapBuildInfoEXT
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.