#[repr(C)]pub struct ResourceUse {
pub index: u32,
pub dimension: Vec3u,
}Expand description
To lookup resources in a shader, these are passed to compute shaders: index = srv (read), uav (write) dimension is the resource dimension where 2d textures will be (w, h, 1) and 3d will be (w, h, d)
Fields§
§index: u32§dimension: Vec3uAuto Trait Implementations§
impl Freeze for ResourceUse
impl RefUnwindSafe for ResourceUse
impl Send for ResourceUse
impl Sync for ResourceUse
impl Unpin for ResourceUse
impl UnsafeUnpin for ResourceUse
impl UnwindSafe for ResourceUse
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