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

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>>

Get the layout of an element by name.

Loading content...

Implementors

Loading content...