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[src]

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

Loading content...

Required methods

fn bind_to(
    &self,
    _: &mut RawDataSet<R>,
    _: &Self::Data,
    _: &mut Manager<R>,
    _: &mut AccessInfo<R>
)
[src]

Dump the given data into the raw data set.

Loading content...

Implementors

impl<R: Resources> DataBind<R> for RawConstantBuffer[src]

type Data = RawBuffer<R>

impl<R: Resources> DataBind<R> for RawGlobal[src]

type Data = UniformValue

impl<R: Resources> DataBind<R> for RawVertexBuffer[src]

type Data = RawBuffer<R>

impl<R: Resources> DataBind<R> for RawShaderResource[src]

type Data = RawShaderResourceView<R>

impl<R: Resources> DataBind<R> for Sampler[src]

type Data = Sampler<R>

impl<R: Resources> DataBind<R> for BlendRef[src]

type Data = ColorValue

impl<R: Resources> DataBind<R> for RawRenderTarget[src]

type Data = RawRenderTargetView<R>

impl<R: Resources> DataBind<R> for Scissor[src]

type Data = Rect

impl<R: Resources, T> DataBind<R> for ShaderResource<T>[src]

type Data = ShaderResourceView<R, T>

impl<R: Resources, T> DataBind<R> for TextureSampler<T>[src]

type Data = (ShaderResourceView<R, T>, Sampler<R>)

impl<R: Resources, T> DataBind<R> for UnorderedAccess<T>[src]

type Data = UnorderedAccessView<R, T>

impl<R: Resources, T> DataBind<R> for BlendTarget<T>[src]

type Data = RenderTargetView<R, T>

impl<R: Resources, T> DataBind<R> for DepthStencilTarget<T>[src]

type Data = (DepthStencilView<R, T>, (Stencil, Stencil))

impl<R: Resources, T> DataBind<R> for DepthTarget<T>[src]

type Data = DepthStencilView<R, T>

impl<R: Resources, T> DataBind<R> for RenderTarget<T>[src]

type Data = RenderTargetView<R, T>

impl<R: Resources, T> DataBind<R> for StencilTarget<T>[src]

type Data = (DepthStencilView<R, T>, (Stencil, Stencil))

impl<R: Resources, T, I> DataBind<R> for VertexBufferCommon<T, I>[src]

type Data = Buffer<R, T>

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

type Data = Buffer<R, T>

impl<R: Resources, T: ToUniform> DataBind<R> for Global<T>[src]

type Data = T

Loading content...