Zen 0.3.0
Loading...
Searching...
No Matches
Zen::RendererAPI Class Referenceabstract
Inheritance diagram for Zen::RendererAPI:

Public Types

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

Public Member Functions

virtual void setClearColour (const glm::vec4 &colour)=0
virtual void clear ()=0
virtual void setViewport (int width, int height)=0
virtual void drawIndexed (const std::shared_ptr< VertexArray > &vertexArray)=0

Static Public Member Functions

static API getAPI ()

Detailed Description

Definition at line 8 of file ZEN_RendererAPI.h.

Member Enumeration Documentation

◆ API

enum class Zen::RendererAPI::API
strong

Definition at line 10 of file ZEN_RendererAPI.h.

Member Function Documentation

◆ getAPI()

API Zen::RendererAPI::getAPI ( )
inlinestatic

Definition at line 20 of file ZEN_RendererAPI.h.


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