Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
BatchVertex.hpp File Reference
#include "../../core/Types.hpp"
#include "./TextVertexFormat.hpp"
#include <glm/glm.hpp>
Include dependency graph for BatchVertex.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  esengine::BatchVertex
 One vertex of the shared batch stream. More...

Namespaces

namespace  esengine

Functions

i32 esengine::batchGlyphModeBits (TextGlyphMode mode)
f32 esengine::withTextureSlot (f32 texIndex, i32 slot)
u32 esengine::packColor (f32 r, f32 g, f32 b, f32 a)
u32 esengine::packColor (const glm::vec4 &c)

Variables

constexpr i32 esengine::BATCH_SLOT_BITS = 3
constexpr i32 esengine::BATCH_DITHER_BIT = 1 << 8
constexpr i32 esengine::BATCH_DITHER_PHASE_BIT = 1 << 9