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

pub struct TextureUnit4 {
    // some fields omitted
}

The 4th texture unit.

Trait Implementations

impl TextureUnit for TextureUnit4
[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.