19 const char*
collectScope()
const override {
return "render.collect.sprite"; }
24 const glm::vec3& position,
const glm::vec2& size,
const glm::vec2& pivot,
25 f32 angle,
const glm::vec4& color,
26 const glm::vec2& uvOffset,
const glm::vec2& uvScale,
27 const glm::vec2& tileSize,
const glm::vec2& tileSpacing,
31 std::vector<BatchVertex> tile_scratch_;
Base class for render-type plugins that emit textured quads into the Batch stream.
Texture metadata structures for nine-slice and other settings.
bool drawsScreenUI() const override
Whether this plugin can draw an entity that lives in a UI tree.
const char * collectScope() const override
What this plugin's collect is called in a frame profile.
void collect(RenderCollectContext &ctx) override
static EstellaContext & ctx()
float f32
32-bit floating point
Non-geometry attributes of a batch draw — everything needed to build the sort key + DrawCommand.