Implements 3DObject control.
You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.
class C3DObject :public virtual I3DObject, public C3DControl
{
protected:
void FreeResources(COpenGL *graphics) override;
void Render(COpenGL *graphics, IRenderer *renderer, ICamera *camera) override;
public:
// I3DObject getters
IVertexArray *getVertexArray() override;
PrimitiveType getPrimitiveType() const override;
// I3DObject setters
bool setPrimitiveType(const PrimitiveType &value) override;
C3DObject();
C3DObject(IControl *parent);
};
Namespace: | nitisa::opengl |
Include: | OpengL/Controls/3DObject/3DObject.h |