Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
|
Used to batch draw commands by shared properties. More...
#include <ember_core.h>
Public Member Functions | |
bool | operator== (const BatchKey &other) const |
Equality operator. More... | |
Public Attributes | |
Uint32 | texture_id |
Texture used. More... | |
int | z_index |
Z-index. More... | |
DrawCommandType | type |
Type of draw command. More... | |
UberShader | uber_shader = UberShader::none() |
Shader used for this batch. More... | |
Used to batch draw commands by shared properties.
|
inline |
Equality operator.
Uint32 BatchKey::texture_id |
Texture used.
DrawCommandType BatchKey::type |
Type of draw command.
UberShader BatchKey::uber_shader = UberShader::none() |
Shader used for this batch.
int BatchKey::z_index |
Z-index.