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

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 bound depends on the shader.

Required methods

fn member(name: &str) -> Option<VertexMemberInfo>

Returns the characteristics of a vertex member by its name.

Loading content...

Implementations on Foreign Types

impl Vertex for ()[src]

Loading content...


Loading content...