#[repr(C)]pub struct HizParams {
pub dst_width: u32,
pub dst_height: u32,
pub src_mip: u32,
pub sample_count: u32,
}Expand description
Per-dispatch params for the Hi-Z build kernels: four tightly-packed uints.
Matches HizParams in shaders/hiz_build.slang. 16 bytes.
Fields§
§dst_width: u32Destination width in pixels.
dst_height: u32Destination height in pixels.
src_mip: u32Source mip level sampled.
sample_count: u32MSAA sample count of the source.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HizParams
impl RefUnwindSafe for HizParams
impl Send for HizParams
impl Sync for HizParams
impl Unpin for HizParams
impl UnsafeUnpin for HizParams
impl UnwindSafe for HizParams
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