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

pub struct TwoBuffersDefinition<T, U>(pub PhantomData<(T, U)>);

Unstable.

Methods

impl<T, U> TwoBuffersDefinition<T, U>
[src]

Trait Implementations

impl<T, U, I> Definition<I> for TwoBuffersDefinition<T, U> where T: Vertex, U: Vertex, I: ShaderInterfaceDef
[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.

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

impl<'a, T, U, Bt, Bu> Source<(&'a Arc<Bt>, &'a Arc<Bu>)> for TwoBuffersDefinition<T, U> where T: Vertex + 'static, Bt: TypedBuffer<Content=[T]> + 'static, T: 'static, U: Vertex + 'static, Bu: TypedBuffer<Content=[U]> + 'static, T: 'static
[src]

Iterator used by decode.

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