pub enum BindingKind {
Texture,
TextureArray,
Sampler,
Buffer,
TextureCubemap,
}Variants§
Texture
TextureArray
texture_2d_array<f32> in WGSL — a texture with multiple layers
sampled by index, e.g. a texture atlas or a per-instance layer
lookup. Bind the whole array as one resource; select the layer in
the shader.
Sampler
Buffer
TextureCubemap
Auto Trait Implementations§
impl Freeze for BindingKind
impl RefUnwindSafe for BindingKind
impl Send for BindingKind
impl Sync for BindingKind
impl Unpin for BindingKind
impl UnsafeUnpin for BindingKind
impl UnwindSafe for BindingKind
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