Trait three_d::TextureCube[][src]

pub trait TextureCube {
    fn bind(&self, location: u32);
fn width(&self) -> usize;
fn height(&self) -> usize; }
Expand description

A texture cube that can be sampled in a fragment shader (see use_texture_cube).

Required methods

fn bind(&self, location: u32)[src]

Expand description

Binds this texture cube to the current shader program.

fn width(&self) -> usize[src]

Expand description

The width of one of the sides of this texture.

fn height(&self) -> usize[src]

Expand description

The height of one of the sides of this texture.

Loading content...

Implementors

impl<T: TextureValueType> TextureCube for TextureCubeMap<T>[src]

fn bind(&self, location: u32)[src]

fn width(&self) -> usize[src]

fn height(&self) -> usize[src]

Loading content...