Trait nannou_mesh::TexCoords[][src]

pub trait TexCoords {
    type TexCoord;
    type TexCoords: Channel<Element = Self::TexCoord>;
    fn tex_coords(&self) -> &Self::TexCoords;
}
Expand description

Meshes that contain a channel of texture coordinates.

Associated Types

The point type used to represent texture coordinates.

The channel type containing texture coordinates.

Required methods

Borrow the texture coordinate channel from the mesh.

Implementations on Foreign Types

Implementors