Trait gfx::pso::DataBind [] [src]

pub trait DataBind<R: Resources> {
    type Data;
    fn bind_to(&self, &mut RawDataSet<R>, &Self::Data, &mut Manager<R>);
}

The "bind" logic portion of the PSO component. Defines how the user data translates into the raw data set.

Associated Types

type Data

The associated "data" type - a member of the PSO "data" struct.

Required Methods

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

Dump the given data into the raw data set.

Implementors