Struct vulkano::pipeline::vertex::BufferlessDefinition [] [src]

pub struct BufferlessDefinition;

Implementation of VertexDefinition for drawing with no buffers at all.

This is only useful if your shaders come up with vertex data on their own, e.g. by inspecting gl_VertexIndex

Trait Implementations

impl VertexSource<BufferlessVertices> for BufferlessDefinition
[src]

[src]

Checks and returns the list of buffers with offsets, number of vertices and number of instances.

impl<T> VertexSource<Vec<T>> for BufferlessDefinition
[src]

[src]

Checks and returns the list of buffers with offsets, number of vertices and number of instances.

impl<I> VertexDefinition<I> for BufferlessDefinition
[src]

Iterator that returns the offset, the stride (in bytes) and input rate of each buffer.

Iterator that returns the attribute location, buffer id, and infos.

[src]

Builds the vertex definition to use to link this definition to a vertex shader's input interface. Read more

Auto Trait Implementations