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

The assotiated "init" type - a member of the PSO "init" struct.

Create a new empty data link.

Check if this link is actually used by the shader.

Attempt to link with a constant buffer.

Attempt to link with a vertex buffer containing multiple attributes.

Attempt to link with a vertex attribute.

Attempt to link with a global constant.

Attempt to link with an output render target (RTV).

Attempt to link with a depth-stencil target (DSV).

Attempt to link with a shader resource (SRV).

Attempt to link with an unordered access (UAV).

Attempt to link with a sampler.

Attempt to enable scissor test.

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

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

Dump the given data into the raw data set.