Trait gfx::pso::DataBind
[−]
[src]
pub trait DataBind<R: Resources> { type Data; fn bind_to(&self,
_: &mut RawDataSet<R>,
_: &Self::Data,
_: &mut Manager<R>,
_: &mut AccessInfo<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>,
_: &mut AccessInfo<R>)
_: &mut RawDataSet<R>,
_: &Self::Data,
_: &mut Manager<R>,
_: &mut AccessInfo<R>)
Dump the given data into the raw data set.
Implementors
impl<R: Resources, T, I> DataBind<R> for VertexBufferCommon<T, I>
impl<R: Resources> DataBind<R> for RawVertexBuffer
impl<R: Resources, T: Structure<ConstFormat>> DataBind<R> for ConstantBuffer<T>
impl<R: Resources> DataBind<R> for RawConstantBuffer
impl<R: Resources, T: ToUniform> DataBind<R> for Global<T>
impl<R: Resources, T> DataBind<R> for ShaderResource<T>
impl<R: Resources> DataBind<R> for RawShaderResource
impl<R: Resources, T> DataBind<R> for UnorderedAccess<T>
impl<R: Resources> DataBind<R> for Sampler
impl<R: Resources, T> DataBind<R> for TextureSampler<T>
impl<R: Resources, T> DataBind<R> for RenderTarget<T>
impl<R: Resources, T> DataBind<R> for BlendTarget<T>
impl<R: Resources> DataBind<R> for RawRenderTarget
impl<R: Resources, T> DataBind<R> for DepthTarget<T>
impl<R: Resources, T> DataBind<R> for StencilTarget<T>
impl<R: Resources, T> DataBind<R> for DepthStencilTarget<T>
impl<R: Resources> DataBind<R> for Scissor
impl<R: Resources> DataBind<R> for BlendRef