Trait nannou::mesh::TexCoords[][src]

pub trait TexCoords {
    type TexCoordScalar: BaseFloat;
    type TexCoords: Channel<Element = Point2<Self::TexCoordScalar>>;
    fn tex_coords(&self) -> &Self::TexCoords;
}

Meshes that contain a channel of texture coordinates.

Associated Types

The scalar value used for the texture coordinates.

The channel type containing texture coordinates.

Required Methods

Borrow the texture coordinate channel from the mesh.

Implementations on Foreign Types

impl<'a, M> TexCoords for &'a M where
    M: TexCoords
[src]

impl<'a, M> TexCoords for &'a mut M where
    M: TexCoords
[src]

impl<'a, M> TexCoords for Ref<'a, M> where
    M: TexCoords
[src]

impl<'a, M> TexCoords for RefMut<'a, M> where
    M: TexCoords
[src]

Implementors