Record Class WorldSceneSpatialStats

java.lang.Object
java.lang.Record
com.render.api.world.WorldSceneSpatialStats
Record Components:
membershipVersion - extracted immutable membership version
boundsVersion - retained snapshot-state version, including visibility and eligibility
indexedObjects - members with persistent immutable bounds
dynamicObjects - members using ordinary per-frame extraction
visitedNodes - hierarchy nodes visited by the last query
boundsTests - hierarchy and indexed-leaf visibility tests executed by the last query
candidates - all dynamic members plus visible indexed members accepted by the last query
builds - cumulative hierarchy builds
refits - 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 Details

  • 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 a WorldSceneSpatialStats record class.
      Parameters:
      membershipVersion - the value for the membershipVersion record component
      boundsVersion - the value for the boundsVersion record component
      indexedObjects - the value for the indexedObjects record component
      dynamicObjects - the value for the dynamicObjects record component
      visitedNodes - the value for the visitedNodes record component
      boundsTests - the value for the boundsTests record component
      candidates - the value for the candidates record component
      builds - the value for the builds record component
      refits - the value for the refits record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • membershipVersion

      public long membershipVersion()
      Returns the value of the membershipVersion record component.
      Returns:
      the value of the membershipVersion record component
    • boundsVersion

      public long boundsVersion()
      Returns the value of the boundsVersion record component.
      Returns:
      the value of the boundsVersion record component
    • indexedObjects

      public int indexedObjects()
      Returns the value of the indexedObjects record component.
      Returns:
      the value of the indexedObjects record component
    • dynamicObjects

      public int dynamicObjects()
      Returns the value of the dynamicObjects record component.
      Returns:
      the value of the dynamicObjects record component
    • visitedNodes

      public int visitedNodes()
      Returns the value of the visitedNodes record component.
      Returns:
      the value of the visitedNodes record component
    • boundsTests

      public int boundsTests()
      Returns the value of the boundsTests record component.
      Returns:
      the value of the boundsTests record component
    • candidates

      public int candidates()
      Returns the value of the candidates record component.
      Returns:
      the value of the candidates record component
    • builds

      public long builds()
      Returns the value of the builds record component.
      Returns:
      the value of the builds record component
    • refits

      public long refits()
      Returns the value of the refits record component.
      Returns:
      the value of the refits record component