[−][src]Enum gfx_descriptor::BufferDescriptorType
pub enum BufferDescriptorType { Storage { read_only: bool, }, Uniform, }
Specific type of a buffer.
Variants
Storage buffers allow load, store, and atomic operations.
Fields of Storage
read_only: bool
If true, store operations are not permitted on this buffer.
Uniform buffers provide constant data to be accessed in a shader.
Trait Implementations
impl Clone for BufferDescriptorType
[src][+]
impl Copy for BufferDescriptorType
[src]
impl Debug for BufferDescriptorType
[src][+]
impl Eq for BufferDescriptorType
[src]
impl Hash for BufferDescriptorType
[src][+]
impl Ord for BufferDescriptorType
[src][+]
impl PartialEq<BufferDescriptorType> for BufferDescriptorType
[src][+]
impl PartialOrd<BufferDescriptorType> for BufferDescriptorType
[src][+]
impl StructuralEq for BufferDescriptorType
[src]
impl StructuralPartialEq for BufferDescriptorType
[src]
Auto Trait Implementations
impl RefUnwindSafe for BufferDescriptorType
impl Send for BufferDescriptorType
impl Sync for BufferDescriptorType
impl Unpin for BufferDescriptorType
impl UnwindSafe for BufferDescriptorType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,