[][src]Struct azul_core::gl::VertexLayout

pub struct VertexLayout {
    pub fields: Vec<VertexAttribute>,
}

Describes the vertex layout and offsets

Fields

fields: Vec<VertexAttribute>

Implementations

impl VertexLayout[src]

pub fn bind(&self, shader: &GlShader)[src]

Submits the vertex buffer description to OpenGL

pub fn unbind(&self, shader: &GlShader)[src]

Unsets the vertex buffer description

Trait Implementations

impl Clone for VertexLayout[src]

impl Debug for VertexLayout[src]

impl Eq for VertexLayout[src]

impl Hash for VertexLayout[src]

impl Ord for VertexLayout[src]

impl PartialEq<VertexLayout> for VertexLayout[src]

impl PartialOrd<VertexLayout> for VertexLayout[src]

impl StructuralEq for VertexLayout[src]

impl StructuralPartialEq for VertexLayout[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.