Trait vulkano::pipeline::vertex::Vertex [] [src]

pub unsafe trait Vertex: 'static + Send + Sync {
    fn member(name: &str) -> Option<VertexMemberInfo>;
}

Describes an individual Vertex. In other words a collection of attributes that can be read from a vertex shader.

At this stage, the vertex is in a "raw" format. For example a [f32; 4] can match both a vec4 or a float[4]. The way the things are binded depends on the shader.

Required Methods

Returns the characteristics of a vertex member by its name.

Implementations on Foreign Types

impl Vertex for ()
[src]

Implementors