Karma Engine
Loading...
Searching...
No Matches
Karma::RendererAPI Class Referenceabstract
Inheritance diagram for Karma::RendererAPI:

Public Types

enum class  API { None = 0 , OpenGL = 1 , Vulkan = 2 }
 

Public Member Functions

virtual void SetClearColor (const glm::vec4 &color)=0
 
virtual void Clear ()=0
 
virtual void BeginScene ()=0
 
virtual void DrawIndexed (std::shared_ptr< VertexArray > vertexArray)=0
 
virtual void EndScene ()=0
 
glm::vec4 & GetClearColor () const
 

Static Public Member Functions

static API GetAPI ()
 

Static Protected Attributes

static glm::vec4 m_ClearColor = { 0.0f, 0.0f, 0.0f, 0.0f }
 

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