Struct luminance::pipeline::Pipeline[][src]

pub struct Pipeline<'a, B: ?Sized> where
    B: PipelineBase
{ /* fields omitted */ }
Expand description

A GPU pipeline handle.

A Pipeline is a special object that is provided as soon as one enters a PipelineGate. It is used to dynamically modify the behavior of the running graphics pipeline. That includes, for instance, obtaining bound resources, like buffers and textures, for subsequent uses in shader stages.

Parametricity

Implementations

Bind a buffer.

Once the buffer is bound, the BoundBuffer object has to be dropped / die in order to bind the buffer again.

Bind a texture.

Once the texture is bound, the BoundTexture object has to be dropped / die in order to bind the texture again.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.