Toplevel holder of the assets meshes, materials, textures and shaders.
 
SLGrid creates a rectangular grid with lines with a certain resolution.
 
void buildMesh(SLMaterial *mat)
SLGrid::buildMesh fills in the underlying arrays from the SLMesh object.
 
SLGrid(SLAssetManager *assetMgr, SLVec3f minXZ, SLVec3f maxXZ, SLuint resX, SLuint resZ, SLstring name="grid mesh", SLMaterial *mat=nullptr)
ctor for rectangle w. min & max corner
 
SLuint _resZ
resolution in z direction
 
SLuint _resX
resolution in x direction
 
Defines a standard CG material with textures and a shader program.
 
An SLMesh object is a triangulated mesh, drawn with one draw call.
 
const SLstring & name() const