Trait gfx::pso::buffer::Structure[][src]

pub trait Structure<F> {
    fn query(_: &str) -> Option<Element<F>>;
}

A trait to be implemented by any struct having the layout described in the graphics API, like a vertex buffer.

Required methods

fn query(_: &str) -> Option<Element<F>>[src]

Get the layout of an element by name.

Loading content...

Implementors

Loading content...