Struct gfx::pso::target::StencilTarget [] [src]

pub struct StencilTarget<T>(_);

Stencil target component. - init: Stencil = stencil state - data: (DepthStencilView<T>, (front, back) = stencil reference values)

Trait Implementations

impl<'a, T: StencilFormat> DataLink<'a> for StencilTarget<T>
[src]

type Init = Stencil

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

fn new() -> Self

Create a new empty data link.

fn is_active(&self) -> bool

Check if this link is actually used by the shader.

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

Attempt to link with a vertex attribute.

Attempt to link with a constant buffer.

Attempt to link with a global constant.

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

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> DataBind<R> for StencilTarget<T>
[src]

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

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

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

Dump the given data into the raw data set.