pub enum BindGroupEntryType {
UniformBuffer,
StorageBuffer {
read_only: bool,
},
SampledTexture {
sample_type: String,
multisampled: bool,
},
StorageTexture {
read_only: bool,
format: String,
},
Sampler {
filtering: bool,
comparison: bool,
},
}Expand description
The resource kind bound at a single slot of a BindGroupLayoutEntry.
Variants§
UniformBuffer
GpuBufferBindingLayout { type: "uniform" }.
StorageBuffer
GpuBufferBindingLayout { type: "storage" | "read-only-storage" }.
SampledTexture
GpuTextureBindingLayout.
Fields
StorageTexture
GpuStorageTextureBindingLayout.
Fields
Sampler
GpuSamplerBindingLayout.
Trait Implementations§
Source§impl Clone for BindGroupEntryType
impl Clone for BindGroupEntryType
Source§fn clone(&self) -> BindGroupEntryType
fn clone(&self) -> BindGroupEntryType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BindGroupEntryType
impl RefUnwindSafe for BindGroupEntryType
impl Send for BindGroupEntryType
impl Sync for BindGroupEntryType
impl Unpin for BindGroupEntryType
impl UnsafeUnpin for BindGroupEntryType
impl UnwindSafe for BindGroupEntryType
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