24 static void SetEnabled(
bool enabled) { s_enabled = enabled; }
29 float r,
float g,
float b,
float a = 1.0f);
33 float r,
float g,
float b,
float a = 1.0f);
37 float r,
float g,
float b,
float a = 1.0f,
42 float r,
float g,
float b,
float a = 1.0f,
46 static void Flush(
Camera* camera);
49 static std::vector<Vertex>* s_vertices;
53 static bool s_enabled;
54 static bool s_initialized;
56 static constexpr uint32_t MAX_VERTICES = 65536;
static void SetEnabled(bool enabled)
static void Initialize()
Allocates the shared vertex buffer, shader, and constant buffer.
Backend-agnostic GPU buffer: vertex, index, constant, or resource view target.
Backend-agnostic compiled shader program.
Backend-facing rendering layer shared by the four graphics backends.
Root namespace for everything the engine exposes.