Struct gfx::pso::buffer::ConstantBuffer [] [src]

pub struct ConstantBuffer<T: Structure<ConstFormat>>(_, _);

Constant buffer component. - init: &str = name of the buffer - data: Buffer<T>

Trait Implementations

impl<'a, T: Structure<ConstFormat>> DataLink<'a> for ConstantBuffer<T>

type Init = &'a str

fn new() -> Self

fn is_active(&self) -> bool

impl<R: Resources, T: Structure<ConstFormat>> DataBind<R> for ConstantBuffer<T>

type Data = Buffer<R, T>

fn bind_to(&self, out: &mut RawDataSet<R>, data: &Self::Data, man: &mut Manager<R>)