Record Class WorldSceneSpatialStats
java.lang.Object
java.lang.Record
com.render.api.world.WorldSceneSpatialStats
- Record Components:
membershipVersion- extracted immutable membership versionboundsVersion- retained snapshot-state version, including visibility and eligibilityindexedObjects- members with persistent immutable boundsdynamicObjects- members using ordinary per-frame extractionvisitedNodes- hierarchy nodes visited by the last queryboundsTests- hierarchy and indexed-leaf visibility tests executed by the last querycandidates- all dynamic members plus visible indexed members accepted by the last querybuilds- cumulative hierarchy buildsrefits- cumulative changed indexed entries whose ancestor branches were refitted
public record WorldSceneSpatialStats(long membershipVersion, long boundsVersion, int indexedObjects, int dynamicObjects, int visitedNodes, int boundsTests, int candidates, long builds, long refits)
extends Record
Last scene query's executed CPU work. Bounds versions advance only when retained index state changes; query counts
exclude command-level culling, dynamic-object bounds and final-frame picking. No values measure GPU time.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WorldSceneSpatialStatsNo index or query has run yet. -
Constructor Summary
ConstructorsConstructorDescriptionWorldSceneSpatialStats(long membershipVersion, long boundsVersion, int indexedObjects, int dynamicObjects, int visitedNodes, int boundsTests, int candidates, long builds, long refits) Creates an instance of aWorldSceneSpatialStatsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theboundsTestsrecord component.longReturns the value of theboundsVersionrecord component.longbuilds()Returns the value of thebuildsrecord component.intReturns the value of thecandidatesrecord component.intReturns the value of thedynamicObjectsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of theindexedObjectsrecord component.longReturns the value of themembershipVersionrecord component.longrefits()Returns the value of therefitsrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thevisitedNodesrecord component.
-
Field Details
-
EMPTY
No index or query has run yet.
-
-
Constructor Details
-
WorldSceneSpatialStats
public WorldSceneSpatialStats(long membershipVersion, long boundsVersion, int indexedObjects, int dynamicObjects, int visitedNodes, int boundsTests, int candidates, long builds, long refits) Creates an instance of aWorldSceneSpatialStatsrecord class.- Parameters:
membershipVersion- the value for themembershipVersionrecord componentboundsVersion- the value for theboundsVersionrecord componentindexedObjects- the value for theindexedObjectsrecord componentdynamicObjects- the value for thedynamicObjectsrecord componentvisitedNodes- the value for thevisitedNodesrecord componentboundsTests- the value for theboundsTestsrecord componentcandidates- the value for thecandidatesrecord componentbuilds- the value for thebuildsrecord componentrefits- the value for therefitsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
membershipVersion
public long membershipVersion()Returns the value of themembershipVersionrecord component.- Returns:
- the value of the
membershipVersionrecord component
-
boundsVersion
public long boundsVersion()Returns the value of theboundsVersionrecord component.- Returns:
- the value of the
boundsVersionrecord component
-
indexedObjects
public int indexedObjects()Returns the value of theindexedObjectsrecord component.- Returns:
- the value of the
indexedObjectsrecord component
-
dynamicObjects
public int dynamicObjects()Returns the value of thedynamicObjectsrecord component.- Returns:
- the value of the
dynamicObjectsrecord component
-
visitedNodes
public int visitedNodes()Returns the value of thevisitedNodesrecord component.- Returns:
- the value of the
visitedNodesrecord component
-
boundsTests
public int boundsTests()Returns the value of theboundsTestsrecord component.- Returns:
- the value of the
boundsTestsrecord component
-
candidates
public int candidates()Returns the value of thecandidatesrecord component.- Returns:
- the value of the
candidatesrecord component
-
builds
-
refits
-