Trait three_d::core::texture::TextureArray[][src]

pub trait TextureArray {
    fn bind(&self, location: u32);
fn width(&self) -> u32;
fn height(&self) -> u32;
fn depth(&self) -> u32;
fn format(&self) -> Format; }
Expand description

A texture array that can be sampled in a fragment shader (see use_texture_array).

Required methods

Binds this texture array to the current shader program.

The width of this texture.

The height of this texture.

The depth of this texture, ie. the number of layers.

The format of this texture.

Implementors