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

pub struct Pipeline<'a> { /* fields omitted */ }

A dynamic pipeline.

Such a pipeline enables you to call shading commands, bind textures, bind uniform buffers, etc. in a scoped-binding way.

Methods

impl<'a> Pipeline<'a>
[src]

Bind a texture and return the bound texture.

The texture remains bound as long as the return value lives.

Bind a buffer and return the bound buffer.

The buffer remains bound as long as the return value lives.

Auto Trait Implementations

impl<'a> !Send for Pipeline<'a>

impl<'a> !Sync for Pipeline<'a>