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

pub unsafe trait VertexDefinition {
    fn definition(
        &self,
        interface: &ShaderInterface
    ) -> Result<VertexInput, IncompatibleVertexDefinitionError>; }
Expand description

Trait for types that describe the definition of the vertex input used by a graphics pipeline.

Required methods

Builds the vertex definition to use to link this definition to a vertex shader’s input interface.

Implementors