OrbitEngine::Graphics::SpriteBatcher class

Base classes

class SpriteRenderer
template<typename V>
class BatchRenderer2D
class TextureArrayHandler virtual

Constructors, destructors, conversion operators

SpriteBatcher(int numSprites = 50000)
~SpriteBatcher()

Public functions

void begin() override
void end() override

Private functions

auto handleTexture(Texture* tex) -> int override
void submitRect(const Math::Vec2f(&positions)[4], const Math::Vec2f(&uvs)[4], const Math::Color4f& color, unsigned int texture) override