IView


Describes minimum required functionality from View control.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class IView: public virtual IControl
{
public:
    void(*OnRender)(IView *sender); // Event called when rendering is happend 

    virtual ICamera *getCamera() = 0; // Return associated camera 

    virtual bool setCamera(ICamera *value) = 0; // Set camera, old one will be automatically destroyed 
};
Namespace: nitisa::opengl
Include: OpenGL/Controls/IView.h