41 const glm::vec3& position,
const glm::vec2& size,
const glm::vec2& pivotNorm,
42 f32 angle,
const glm::vec2& uvOffset,
const glm::vec2& uvScale,
51 const glm::vec3& position,
const glm::vec2& size,
const glm::vec2& pivotNorm,
52 f32 angle,
const glm::vec2& texSize,
const glm::vec4& border,
53 const glm::vec2& uvOffset,
const glm::vec2& uvScale,
71 const glm::vec3& center,
const glm::vec2& size,
f32 angle,
73 const glm::vec2& uvOffset,
const glm::vec2& uvScale,
The single submission face: the ONLY place a DrawCommand is assembled.
void emitRadialFill(TransientBufferPool &buffers, DrawList &draw_list, const ClipState &clips, const glm::vec3 ¢er, const glm::vec2 &size, f32 angle, f32 startAngle, f32 sweep, const glm::vec2 &uvOffset, const glm::vec2 &uvScale, const glm::vec4 &color, const BatchDrawKey &key)
Emits a centered angular wedge (Radial Filled): a triangle fan from the box center out to its perimet...
void init(RenderFrameContext &ctx) override
void emitQuad(TransientBufferPool &buffers, DrawList &draw_list, const ClipState &clips, const glm::vec3 &position, const glm::vec2 &size, const glm::vec2 &pivotNorm, f32 angle, const glm::vec2 &uvOffset, const glm::vec2 &uvScale, const glm::vec4 &color, const BatchDrawKey &key)
Emits a single rotated/unrotated textured quad.
void emitNineSlice(TransientBufferPool &buffers, DrawList &draw_list, const ClipState &clips, const glm::vec3 &position, const glm::vec2 &size, const glm::vec2 &pivotNorm, f32 angle, const glm::vec2 &texSize, const glm::vec4 &border, const glm::vec2 &uvOffset, const glm::vec2 &uvScale, const glm::vec4 &color, const BatchDrawKey &key)
Emits a 3x3 nine-slice grid of quads sharing one BatchDrawKey.
std::uint32_t u32
Unsigned 32-bit integer.
static EstellaContext & ctx()
float f32
32-bit floating point
Non-geometry attributes of a batch draw — everything needed to build the sort key + DrawCommand.