Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
Classes | Enumerations
ember_core.h File Reference
#include "core/component/components.h"
#include "core/text_parser.h"
#include "core/renderer/mesh.h"
#include "core/renderer/opengl/shader_gl.h"
#include "core/audio/ember_audio.h"
#include "core/ember_utils.h"
#include "core/system_info.h"
#include "core/http/http_client.h"

Go to the source code of this file.

Classes

struct  DrawCommand
 Represents a single rendering command. More...
 
struct  BatchKey
 Used to batch draw commands by shared properties. More...
 
struct  std::hash< BatchKey >
 Hash function for BatchKey to use in unordered_map. More...
 
struct  Batch
 A group of vertices and indices that can be rendered together. More...
 
class  Renderer
 Base class for all renderers. More...
 

Enumerations

enum class  DrawCommandMode { LINES , TRIANGLES }
 Mode of drawing commands. More...
 
enum class  DrawCommandType {
  NONE , TEXTURE , TEXT , LINE ,
  RECT , TRIANGLE , CIRCLE , POLYGON
}
 Types of draw commands supported by the renderer. More...
 

Enumeration Type Documentation

◆ DrawCommandMode

enum DrawCommandMode
strong

Mode of drawing commands.

Enumerator
LINES 
TRIANGLES 

◆ DrawCommandType

enum DrawCommandType
strong

Types of draw commands supported by the renderer.

Enumerator
NONE 

No command.

TEXTURE 

Draw textured quad.

TEXT 

Draw text.

LINE 

Draw line.

RECT 

Draw rectangle.

TRIANGLE 

Draw triangle.

CIRCLE 

Draw circle.

POLYGON 

Draw polygon.