Struct glitter::context::texture_units::TextureUnit5 [] [src]

pub struct TextureUnit5 {
    // some fields omitted
}

The 5th texture unit.

Trait Implementations

impl TextureUnit for TextureUnit5
[src]

fn idx(&self) -> u32

Get the index of the texture unit.

fn active(&mut self) -> TextureUnitBinding

Make the current texture unit active, returning a binding.