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
Auto 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