Module mesh

Module mesh 

Source
Expand description

The mesh object

Structs§

BufferWithType
A wrapper for Buffer
GenericMeshSet
The mesh set
GenericMeshWithMaterial
A Mesh with a material
Mesh
ObjParseError
Obj file parse error
ObjVertDontCare
The struct for OBJ vertices with position data only
ObjVertPositionNormal
The struct for OBJ vertices with position data and normal data
ObjVertPositionNormalDouble
The struct for OBJ vertices with position data and normal data
ObjVertPositionOnly
The struct for OBJ vertices with position data only
ObjVertPositionOnlyDouble
The struct for OBJ vertices with position data only
ObjVertPositionTexcoord2D
The struct for OBJ vertices with position data and and texcoord data (2D)
ObjVertPositionTexcoord2DDouble
The struct for OBJ vertices with position data and and texcoord data (2D)
ObjVertPositionTexcoord2DNormal
The struct for OBJ vertices with position data, texcoord data (2D) and normal data
ObjVertPositionTexcoord2DNormalDouble
The struct for OBJ vertices with position data, texcoord data (2D) and normal data
ObjVertPositionTexcoord2DNormalTangent
The struct for OBJ vertices with position data, texcoord data (2D) and normal data
ObjVertPositionTexcoord2DNormalTangentDouble
The struct for OBJ vertices with position data, texcoord data (2D) and normal data
ObjVertPositionTexcoord3D
The struct for OBJ vertices with position data and texcoord data (3D)
ObjVertPositionTexcoord3DDouble
The struct for OBJ vertices with position data and texcoord data (3D)
ObjVertPositionTexcoord3DNormal
The struct for OBJ vertices with position data, texcoord data (3D) and normal data
ObjVertPositionTexcoord3DNormalDouble
The struct for OBJ vertices with position data, texcoord data (3D) and normal data
UnusedBufferItem
If a buffer you don’t need, use this for your buffer item type

Traits§

BufferForDraw
The trait for the mesh to hold buffers
BufferVecStructItem
The type that could be the item of the BufferVec
GenericMesh
The trait for a mesh

Functions§

buffer_unused
Use this function to create an unused buffer type

Type Aliases§

DynamicMesh
The dynamic mesh type: use BufferVec for all buffers
StaticMesh
The most typical static mesh type: use BufferWithType for vertices and elements(indices), use BufferVec for instances and draw commands
UnusedBufferType
If a buffer you don’t need, use this for your buffer type