Skip to content
zeganstyl edited this page Jul 23, 2020 · 3 revisions

Mesh is a minimal object, that can be rendered. It implements IMesh interface.

With vertex buffer, mesh can be rendered through shader.

Index buffer, instance buffer and material are optional objects. But, for optimal memory usage by vertex buffer, index buffer must be set.

material is not used directly by the mesh, but it is useful to link material to the mesh for external objects, so they can know how to render this mesh. Materials also provides shaders.

Clone this wiki locally