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

pub struct TextureUnit0 {
    // some fields omitted
}

The 0th texture unit.

Trait Implementations

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