Enum gfx_hal::pso::BufferDescriptorType [−][src]
pub enum BufferDescriptorType {
Storage {
read_only: bool,
},
Uniform,
}Specific type of a buffer.
Variants
Storage buffers allow load, store, and atomic operations.
Show fields
Fields of Storage
read_only: boolIf 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 Clone for BufferDescriptorType[src]fn clone(&self) -> BufferDescriptorType[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for BufferDescriptorType[src]
impl Copy for BufferDescriptorType[src]impl Eq for BufferDescriptorType[src]
impl Eq for BufferDescriptorType[src]impl Hash for BufferDescriptorType[src]
impl Hash for BufferDescriptorType[src]impl Ord for BufferDescriptorType[src]
impl Ord for BufferDescriptorType[src]impl PartialEq<BufferDescriptorType> for BufferDescriptorType[src]
impl PartialEq<BufferDescriptorType> for BufferDescriptorType[src]fn eq(&self, other: &BufferDescriptorType) -> bool[src]
fn ne(&self, other: &BufferDescriptorType) -> bool[src]
impl PartialOrd<BufferDescriptorType> for BufferDescriptorType[src]
impl PartialOrd<BufferDescriptorType> for BufferDescriptorType[src]fn partial_cmp(&self, other: &BufferDescriptorType) -> Option<Ordering>[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StructuralEq for BufferDescriptorType[src]
impl StructuralEq for BufferDescriptorType[src]Auto Trait Implementations
impl RefUnwindSafe for BufferDescriptorType
impl RefUnwindSafe for BufferDescriptorTypeimpl Send for BufferDescriptorType
impl Send for BufferDescriptorTypeimpl Sync for BufferDescriptorType
impl Sync for BufferDescriptorTypeimpl Unpin for BufferDescriptorType
impl Unpin for BufferDescriptorTypeimpl UnwindSafe for BufferDescriptorType
impl UnwindSafe for BufferDescriptorType