Struct ash::vk::MicromapBuildInfoEXT
source · #[repr(C)]pub struct MicromapBuildInfoEXT<'a> {Show 14 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: DeviceSize,
pub _marker: PhantomData<&'a ()>,
}
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: DeviceSize
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> MicromapBuildInfoEXT<'a>
impl<'a> MicromapBuildInfoEXT<'a>
pub fn ty(self, ty: MicromapTypeEXT) -> Self
pub fn flags(self, flags: BuildMicromapFlagsEXT) -> Self
pub fn mode(self, mode: BuildMicromapModeEXT) -> Self
pub fn dst_micromap(self, dst_micromap: MicromapEXT) -> Self
pub fn usage_counts(self, usage_counts: &'a [MicromapUsageEXT]) -> Self
pub fn usage_counts_ptrs( self, usage_counts_ptrs: &'a [&'a MicromapUsageEXT], ) -> Self
pub fn data(self, data: DeviceOrHostAddressConstKHR) -> Self
pub fn scratch_data(self, scratch_data: DeviceOrHostAddressKHR) -> Self
pub fn triangle_array(self, triangle_array: DeviceOrHostAddressConstKHR) -> Self
pub fn triangle_array_stride(self, triangle_array_stride: DeviceSize) -> Self
Trait Implementations§
source§impl<'a> Clone for MicromapBuildInfoEXT<'a>
impl<'a> Clone for MicromapBuildInfoEXT<'a>
source§fn clone(&self) -> MicromapBuildInfoEXT<'a>
fn clone(&self) -> MicromapBuildInfoEXT<'a>
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§impl<'a> TaggedStructure for MicromapBuildInfoEXT<'a>
impl<'a> TaggedStructure for MicromapBuildInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::MICROMAP_BUILD_INFO_EXT
impl<'a> Copy for MicromapBuildInfoEXT<'a>
impl Send for MicromapBuildInfoEXT<'_>
impl Sync for MicromapBuildInfoEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for MicromapBuildInfoEXT<'a>
impl<'a> RefUnwindSafe for MicromapBuildInfoEXT<'a>
impl<'a> Unpin for MicromapBuildInfoEXT<'a>
impl<'a> UnwindSafe for MicromapBuildInfoEXT<'a>
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