16 glm::vec3
pos{0.0f, 0.0f, 0.0f};
33 const char*
collectScope()
const override {
return "render.collect.trail"; }
37 std::vector<TrailCenter> scratch_center_;
38 std::vector<BatchVertex> scratch_verts_;
39 std::vector<u32> scratch_indices_;
Motion-trail renderer (TrailRenderer component).
const char * collectScope() const override
What this plugin's collect is called in a frame profile.
void collect(RenderCollectContext &ctx) override
void setTrailSystem(trail::TrailSystem *system)
static EstellaContext & ctx()
float f32
32-bit floating point
One centerline sample: world position + normalized age (0 head, 1 tail).