Implements Mesh control.
You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.
class CMesh :public virtual IMesh, public C3DControl
{
protected:
void FreeResources(COpenGL *graphics) override;
void Render(COpenGL *graphics, IRenderer *renderer, ICamera *camera) override;
public:
// IMesh getters
IVertexArray *getVertexArray() override;
CMesh();
CMesh(IControl *parent);
};;
Namespace: | nitisa::opengl |
Include: | OpengL/Controls/Mesh/Mesh.h |