CMesh



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(standard::windows::opengl::IOpenGL *graphics) override;
    void Render(standard::windows::opengl::IOpenGL *graphics, IRenderer *renderer, ICamera *camera) override;
public:
    // IMesh getters 
    bool isUseVertexNormal() override;
    const Mesh *getMesh() override;

    // IMesh setters 
    bool setUseVertexNormal(const bool value) override;
    bool setMesh(const Mesh &mesh) override;

    CMesh();
    CMesh(IControl *parent);
};
Namespace: nitisa::opengl
Include: OpengL/Controls/Mesh/Mesh.h