#[repr(C)]pub struct MicromapUsageKHR {
pub count: u32,
pub subdivision_level: u32,
pub format: OpacityMicromapFormatKHR,
}Expand description
Native structure VkMicromapUsageKHR.
Fields§
§count: u32Native field count.
subdivision_level: u32Native field subdivisionLevel.
format: OpacityMicromapFormatKHRNative field format.
Implementations§
Source§impl MicromapUsageKHR
impl MicromapUsageKHR
Sourcepub fn set_subdivision_level(self, value: u32) -> Self
pub fn set_subdivision_level(self, value: u32) -> Self
Set native field subdivisionLevel without native effects.
Sourcepub fn set_format(self, value: OpacityMicromapFormatKHR) -> Self
pub fn set_format(self, value: OpacityMicromapFormatKHR) -> Self
Set native field format without native effects.
Trait Implementations§
Source§impl Clone for MicromapUsageKHR
impl Clone for MicromapUsageKHR
impl Copy for MicromapUsageKHR
Auto Trait Implementations§
impl Forget for MicromapUsageKHR
impl Freeze for MicromapUsageKHR
impl Move for MicromapUsageKHR
impl RefUnwindSafe for MicromapUsageKHR
impl Send for MicromapUsageKHR
impl Sync for MicromapUsageKHR
impl Unpin for MicromapUsageKHR
impl UnsafeUnpin for MicromapUsageKHR
impl UnwindSafe for MicromapUsageKHR
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