Vivid
Loading...
Searching...
No Matches
RenderingInterface Class Referenceabstract

RenderingInterface class. More...

#include <RenderingInterface.h>

Inheritance diagram for RenderingInterface:
[legend]

Public Member Functions

virtual void Setup ()=0
 Setup function.
 
virtual void Draw ()=0
 Draw function.
 
virtual void ImGuiRender ()=0
 ImGuiRender function.
 

Detailed Description

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.

Member Function Documentation

◆ Draw()

virtual void RenderingInterface::Draw ( )
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.

◆ ImGuiRender()

virtual void RenderingInterface::ImGuiRender ( )
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.

◆ Setup()

virtual void RenderingInterface::Setup ( )
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.


The documentation for this class was generated from the following file: