Struct gfx_hal::pso::AttributeDesc [−][src]
pub struct AttributeDesc { pub location: Location, pub binding: BufferIndex, pub element: Element<Format>, }
Vertex attribute description. Notably, completely separate from resource Descriptor
s
used in DescriptorSet
s.
Fields
location: Location
Attribute binding location in the shader. Attribute locations are shared between all vertex buffers in a pipeline, meaning that even if the data for this attribute comes from a different vertex buffer, it still cannot share the same location with another attribute.
binding: BufferIndex
Binding number of the associated vertex buffer.
element: Element<Format>
Attribute element description.
Trait Implementations
impl Clone for AttributeDesc
[src]
impl Clone for AttributeDesc
[src]fn clone(&self) -> AttributeDesc
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AttributeDesc
[src]
impl Copy for AttributeDesc
[src]impl Eq for AttributeDesc
[src]
impl Eq for AttributeDesc
[src]impl Hash for AttributeDesc
[src]
impl Hash for AttributeDesc
[src]impl Ord for AttributeDesc
[src]
impl Ord for AttributeDesc
[src]impl PartialEq<AttributeDesc> for AttributeDesc
[src]
impl PartialEq<AttributeDesc> for AttributeDesc
[src]fn eq(&self, other: &AttributeDesc) -> bool
[src]
fn ne(&self, other: &AttributeDesc) -> bool
[src]
impl PartialOrd<AttributeDesc> for AttributeDesc
[src]
impl PartialOrd<AttributeDesc> for AttributeDesc
[src]fn partial_cmp(&self, other: &AttributeDesc) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StructuralEq for AttributeDesc
[src]
impl StructuralEq for AttributeDesc
[src]impl StructuralPartialEq for AttributeDesc
[src]
impl StructuralPartialEq for AttributeDesc
[src]Auto Trait Implementations
impl RefUnwindSafe for AttributeDesc
impl RefUnwindSafe for AttributeDesc
impl Send for AttributeDesc
impl Send for AttributeDesc
impl Sync for AttributeDesc
impl Sync for AttributeDesc
impl Unpin for AttributeDesc
impl Unpin for AttributeDesc
impl UnwindSafe for AttributeDesc
impl UnwindSafe for AttributeDesc