Struct kiss3d::resource::PlanarMesh[][src]

pub struct PlanarMesh { /* fields omitted */ }

Aggregation of vertices, indices, normals and texture coordinates.

It also contains the GPU location of those buffers.

Methods

impl PlanarMesh
[src]

Creates a new mesh.

If the normals and uvs are not given, they are automatically computed.

Creates a new mesh. Arguments set to None are automatically computed.

Binds this mesh vertex coordinates buffer to a vertex attribute.

Binds this mesh vertex uvs buffer to a vertex attribute.

Binds this mesh vertex uvs buffer to a vertex attribute.

Binds this mesh buffers to vertex attributes.

Binds this mesh buffers to vertex attributes.

Unbind this mesh buffers to vertex attributes.

Number of points needed to draw this mesh.

This mesh faces.

This mesh vertex coordinates.

This mesh texture coordinates.

Auto Trait Implementations

impl Send for PlanarMesh

impl Sync for PlanarMesh