Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
es::spine::ProbeCounts Struct Reference

#include <SpineRuntime.hpp>

Public Attributes

std::uint32_t slots
std::uint32_t regionAttachments
std::uint32_t meshAttachments
std::uint32_t clipStarts
std::uint32_t clippedEmits
std::uint32_t verticesGenerated
std::uint32_t verticesEmitted
std::uint32_t indicesEmitted
std::uint32_t emits
std::uint32_t clipPolygons
std::uint32_t clipPolygonVertices
std::uint32_t clipPolygonEdges
std::uint32_t clipInputTriangles
std::uint32_t clipOutputTriangles
std::uint32_t clipBoundsRejects
std::uint32_t clipInsideAccepts
std::uint32_t clipCandidateTriangles
std::uint32_t clipRejectedTriangles
std::uint32_t clipBypassedTriangles
std::uint32_t clipEdgeWork
std::uint32_t clipInputVertices
std::uint32_t clipOutputVertices
std::uint32_t clipConvexBypasses
std::uint32_t clipDecompositions

Detailed Description

What the walk did, so a time can be explained rather than only reported.

Definition at line 305 of file SpineRuntime.hpp.

Member Data Documentation

◆ clipBoundsRejects

std::uint32_t es::spine::ProbeCounts::clipBoundsRejects

Attachments the two fast paths answered without cutting anything: one whose bounds miss the region entirely, one wholly inside a convex one.

Definition at line 327 of file SpineRuntime.hpp.

◆ clipBypassedTriangles

std::uint32_t es::spine::ProbeCounts::clipBypassedTriangles

Definition at line 334 of file SpineRuntime.hpp.

◆ clipCandidateTriangles

std::uint32_t es::spine::ProbeCounts::clipCandidateTriangles

The same three answers counted in triangles rather than attachments, which is what a budget is charged in.

Definition at line 332 of file SpineRuntime.hpp.

◆ clipConvexBypasses

std::uint32_t es::spine::ProbeCounts::clipConvexBypasses

Regions opened without triangulating, and regions that had to. A convex polygon is its own only convex piece; proving that is linear, and deriving it through an ear clip is quadratic.

Definition at line 344 of file SpineRuntime.hpp.

◆ clipDecompositions

std::uint32_t es::spine::ProbeCounts::clipDecompositions

Definition at line 345 of file SpineRuntime.hpp.

◆ clipEdgeWork

std::uint32_t es::spine::ProbeCounts::clipEdgeWork

Σ over charged attachments of triangles × the edges of the region they were charged against — accumulated per region rather than multiplied at the end, so a skeleton with two regions is priced against both.

Definition at line 338 of file SpineRuntime.hpp.

◆ clipInputTriangles

std::uint32_t es::spine::ProbeCounts::clipInputTriangles

Definition at line 323 of file SpineRuntime.hpp.

◆ clipInputVertices

std::uint32_t es::spine::ProbeCounts::clipInputVertices

Definition at line 339 of file SpineRuntime.hpp.

◆ clipInsideAccepts

std::uint32_t es::spine::ProbeCounts::clipInsideAccepts

Definition at line 328 of file SpineRuntime.hpp.

◆ clipOutputTriangles

std::uint32_t es::spine::ProbeCounts::clipOutputTriangles

Definition at line 324 of file SpineRuntime.hpp.

◆ clipOutputVertices

std::uint32_t es::spine::ProbeCounts::clipOutputVertices

Definition at line 340 of file SpineRuntime.hpp.

◆ clippedEmits

std::uint32_t es::spine::ProbeCounts::clippedEmits

Definition at line 310 of file SpineRuntime.hpp.

◆ clipPolygonEdges

std::uint32_t es::spine::ProbeCounts::clipPolygonEdges

Edges summed over those pieces — what a cut actually costs per triangle, since the clip runs one pass per edge, per piece, per triangle.

Definition at line 322 of file SpineRuntime.hpp.

Referenced by es::spine::renderImpl().

◆ clipPolygons

std::uint32_t es::spine::ProbeCounts::clipPolygons

Convex pieces the clip polygons decomposed into. One per clip region says the polygon was convex; more is what a concave one costs before any triangle is cut, and every piece re-runs the cut.

Definition at line 318 of file SpineRuntime.hpp.

Referenced by es::spine::renderImpl().

◆ clipPolygonVertices

std::uint32_t es::spine::ProbeCounts::clipPolygonVertices

Definition at line 319 of file SpineRuntime.hpp.

Referenced by es::spine::renderImpl().

◆ clipRejectedTriangles

std::uint32_t es::spine::ProbeCounts::clipRejectedTriangles

Definition at line 333 of file SpineRuntime.hpp.

◆ clipStarts

std::uint32_t es::spine::ProbeCounts::clipStarts

Definition at line 309 of file SpineRuntime.hpp.

Referenced by es::spine::renderImpl().

◆ emits

std::uint32_t es::spine::ProbeCounts::emits

Definition at line 314 of file SpineRuntime.hpp.

◆ indicesEmitted

std::uint32_t es::spine::ProbeCounts::indicesEmitted

Definition at line 313 of file SpineRuntime.hpp.

◆ meshAttachments

std::uint32_t es::spine::ProbeCounts::meshAttachments

Definition at line 308 of file SpineRuntime.hpp.

Referenced by es::spine::renderImpl().

◆ regionAttachments

std::uint32_t es::spine::ProbeCounts::regionAttachments

Definition at line 307 of file SpineRuntime.hpp.

Referenced by es::spine::renderImpl().

◆ slots

std::uint32_t es::spine::ProbeCounts::slots

Definition at line 306 of file SpineRuntime.hpp.

Referenced by es::spine::renderImpl().

◆ verticesEmitted

std::uint32_t es::spine::ProbeCounts::verticesEmitted

Definition at line 312 of file SpineRuntime.hpp.

◆ verticesGenerated

std::uint32_t es::spine::ProbeCounts::verticesGenerated

Definition at line 311 of file SpineRuntime.hpp.

Referenced by es::spine::renderImpl().


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/bindings/modules/spine/SpineRuntime.hpp