Vivid
|
RenderingInterface class. More...
#include <RenderingInterface.h>
Public Member Functions | |
virtual void | Setup ()=0 |
Setup function. | |
virtual void | Draw ()=0 |
Draw function. | |
virtual void | ImGuiRender ()=0 |
ImGuiRender function. | |
RenderingInterface class.
A class that contains functions to setup, draw, and render ImGui. This can be used by a user to render their own things. User needs to crete a class that inherits from this class and implement the functions. All the different functions can share variables having member variables in the class, or gloabl variables.
Definition at line 10 of file RenderingInterface.h.
|
pure virtual |
Draw function.
A pure virtual function that needs to be implemented by the user. This function is called every frame.
Implemented in ExampleInterface, ExampleInterface, ExampleInterface, ExampleInterface, ExampleInterface, ExampleInterface, and ExampleInterface.
|
pure virtual |
ImGuiRender function.
A pure virtual function that needs to be implemented by the user. This function is called every frame.
Implemented in ExampleInterface, ExampleInterface, ExampleInterface, ExampleInterface, ExampleInterface, ExampleInterface, and ExampleInterface.
|
pure virtual |
Setup function.
A pure virtual function that needs to be implemented by the user. This function is called once before the first frame. You need to do all the OpenGl setup here.
Implemented in ExampleInterface, ExampleInterface, ExampleInterface, ExampleInterface, ExampleInterface, ExampleInterface, and ExampleInterface.