[][src]Struct grr::VertexAttributeDesc

pub struct VertexAttributeDesc {
    pub location: u32,
    pub binding: u32,
    pub format: VertexFormat,
    pub offset: u32,
}

Vertex attribute format and binding.

Fields

location: u32

Shader binding location of the attribute.

binding: u32

Vertex buffer binding number which is the data source.

format: VertexFormat

Size and type of the vertex data.

offset: u32

Byte offset of this attribute relative to the start of an element in the vertex binding.

Trait Implementations

impl Clone for VertexAttributeDesc[src]

impl Debug for VertexAttributeDesc[src]

impl Eq for VertexAttributeDesc[src]

impl PartialEq<VertexAttributeDesc> for VertexAttributeDesc[src]

impl StructuralEq for VertexAttributeDesc[src]

impl StructuralPartialEq for VertexAttributeDesc[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.