Record Class WorldVfxStats

java.lang.Object
java.lang.Record
com.render.api.world.WorldVfxStats

public record WorldVfxStats(long frameId, int authoredNodes, int loweredOperations, int degradedNodes, int compiledPrograms, long cacheHits, long cacheMisses, int drawSubmissions, int sceneColorCopies, int sceneDepthCopies, long transientTargetBytes, long meshCacheBytes, long compilationNanos, long submissionNanos, int bloomEmitters, int bloomGroups, int bloomPasses, int bloomDepthCopies, long bloomNanos, int meshUploads, long meshUploadBytes, int instancedDraws, int drawnInstances, long instanceUploadBytes, long instanceCacheBytes) extends Record
Diagnostics published after surface and bloom execution. Draws count issued surface/mask geometry calls; bloom passes count fullscreen filter/composite calls. Timings measure CPU scheduling, not GPU elapsed time. Mesh upload counts/bytes are actual unique-vertex/index buffer creations in this frame; cache hit/miss totals are cumulative. Instanced draws count issued indexed hardware draws with more than one instance; drawn instances count their elements. Instance upload bytes include initial allocation and changed uniform ranges; resident instance bytes include delayed-retirement buffers. Transparent surfaces and bloom masks retain independent draw submissions.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final WorldVfxStats
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    WorldVfxStats(long frameId, int authoredNodes, int loweredOperations, int degradedNodes, int compiledPrograms, long cacheHits, long cacheMisses, int drawSubmissions, int sceneColorCopies, int sceneDepthCopies, long transientTargetBytes, long meshCacheBytes, long compilationNanos, long submissionNanos)
    Preserves construction compatibility for consumers of the original diagnostics record.
    WorldVfxStats(long frameId, int authoredNodes, int loweredOperations, int degradedNodes, int compiledPrograms, long cacheHits, long cacheMisses, int drawSubmissions, int sceneColorCopies, int sceneDepthCopies, long transientTargetBytes, long meshCacheBytes, long compilationNanos, long submissionNanos, int bloomEmitters, int bloomGroups, int bloomPasses, int bloomDepthCopies, long bloomNanos, int meshUploads, long meshUploadBytes)
    Preserves construction compatibility for diagnostics including bloom and mesh counters.
    WorldVfxStats(long frameId, int authoredNodes, int loweredOperations, int degradedNodes, int compiledPrograms, long cacheHits, long cacheMisses, int drawSubmissions, int sceneColorCopies, int sceneDepthCopies, long transientTargetBytes, long meshCacheBytes, long compilationNanos, long submissionNanos, int bloomEmitters, int bloomGroups, int bloomPasses, int bloomDepthCopies, long bloomNanos, int meshUploads, long meshUploadBytes, int instancedDraws, int drawnInstances, long instanceUploadBytes, long instanceCacheBytes)
    Creates an instance of a WorldVfxStats record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the authoredNodes record component.
    int
    Returns the value of the bloomDepthCopies record component.
    int
    Returns the value of the bloomEmitters record component.
    int
    Returns the value of the bloomGroups record component.
    long
    Returns the value of the bloomNanos record component.
    int
    Returns the value of the bloomPasses record component.
    long
    Returns the value of the cacheHits record component.
    long
    Returns the value of the cacheMisses record component.
    long
    Returns the value of the compilationNanos record component.
    int
    Returns the value of the compiledPrograms record component.
    int
    Returns the value of the degradedNodes record component.
    int
    Returns the value of the drawnInstances record component.
    int
    Returns the value of the drawSubmissions record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    long
    Returns the value of the frameId record component.
    final int
    Returns a hash code value for this object.
    long
    Returns the value of the instanceCacheBytes record component.
    int
    Returns the value of the instancedDraws record component.
    long
    Returns the value of the instanceUploadBytes record component.
    int
    Returns the value of the loweredOperations record component.
    long
    Returns the value of the meshCacheBytes record component.
    long
    Returns the value of the meshUploadBytes record component.
    int
    Returns the value of the meshUploads record component.
    int
    Returns the value of the sceneColorCopies record component.
    int
    Returns the value of the sceneDepthCopies record component.
    long
    Returns the value of the submissionNanos record component.
    final String
    Returns a string representation of this record class.
    long
    Returns the value of the transientTargetBytes record component.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • WorldVfxStats

      public WorldVfxStats(long frameId, int authoredNodes, int loweredOperations, int degradedNodes, int compiledPrograms, long cacheHits, long cacheMisses, int drawSubmissions, int sceneColorCopies, int sceneDepthCopies, long transientTargetBytes, long meshCacheBytes, long compilationNanos, long submissionNanos, int bloomEmitters, int bloomGroups, int bloomPasses, int bloomDepthCopies, long bloomNanos, int meshUploads, long meshUploadBytes)
      Preserves construction compatibility for diagnostics including bloom and mesh counters.
    • WorldVfxStats

      public WorldVfxStats(long frameId, int authoredNodes, int loweredOperations, int degradedNodes, int compiledPrograms, long cacheHits, long cacheMisses, int drawSubmissions, int sceneColorCopies, int sceneDepthCopies, long transientTargetBytes, long meshCacheBytes, long compilationNanos, long submissionNanos)
      Preserves construction compatibility for consumers of the original diagnostics record.
    • WorldVfxStats

      public WorldVfxStats(long frameId, int authoredNodes, int loweredOperations, int degradedNodes, int compiledPrograms, long cacheHits, long cacheMisses, int drawSubmissions, int sceneColorCopies, int sceneDepthCopies, long transientTargetBytes, long meshCacheBytes, long compilationNanos, long submissionNanos, int bloomEmitters, int bloomGroups, int bloomPasses, int bloomDepthCopies, long bloomNanos, int meshUploads, long meshUploadBytes, int instancedDraws, int drawnInstances, long instanceUploadBytes, long instanceCacheBytes)
      Creates an instance of a WorldVfxStats record class.
      Parameters:
      frameId - the value for the frameId record component
      authoredNodes - the value for the authoredNodes record component
      loweredOperations - the value for the loweredOperations record component
      degradedNodes - the value for the degradedNodes record component
      compiledPrograms - the value for the compiledPrograms record component
      cacheHits - the value for the cacheHits record component
      cacheMisses - the value for the cacheMisses record component
      drawSubmissions - the value for the drawSubmissions record component
      sceneColorCopies - the value for the sceneColorCopies record component
      sceneDepthCopies - the value for the sceneDepthCopies record component
      transientTargetBytes - the value for the transientTargetBytes record component
      meshCacheBytes - the value for the meshCacheBytes record component
      compilationNanos - the value for the compilationNanos record component
      submissionNanos - the value for the submissionNanos record component
      bloomEmitters - the value for the bloomEmitters record component
      bloomGroups - the value for the bloomGroups record component
      bloomPasses - the value for the bloomPasses record component
      bloomDepthCopies - the value for the bloomDepthCopies record component
      bloomNanos - the value for the bloomNanos record component
      meshUploads - the value for the meshUploads record component
      meshUploadBytes - the value for the meshUploadBytes record component
      instancedDraws - the value for the instancedDraws record component
      drawnInstances - the value for the drawnInstances record component
      instanceUploadBytes - the value for the instanceUploadBytes record component
      instanceCacheBytes - the value for the instanceCacheBytes 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.
    • frameId

      public long frameId()
      Returns the value of the frameId record component.
      Returns:
      the value of the frameId record component
    • authoredNodes

      public int authoredNodes()
      Returns the value of the authoredNodes record component.
      Returns:
      the value of the authoredNodes record component
    • loweredOperations

      public int loweredOperations()
      Returns the value of the loweredOperations record component.
      Returns:
      the value of the loweredOperations record component
    • degradedNodes

      public int degradedNodes()
      Returns the value of the degradedNodes record component.
      Returns:
      the value of the degradedNodes record component
    • compiledPrograms

      public int compiledPrograms()
      Returns the value of the compiledPrograms record component.
      Returns:
      the value of the compiledPrograms record component
    • cacheHits

      public long cacheHits()
      Returns the value of the cacheHits record component.
      Returns:
      the value of the cacheHits record component
    • cacheMisses

      public long cacheMisses()
      Returns the value of the cacheMisses record component.
      Returns:
      the value of the cacheMisses record component
    • drawSubmissions

      public int drawSubmissions()
      Returns the value of the drawSubmissions record component.
      Returns:
      the value of the drawSubmissions record component
    • sceneColorCopies

      public int sceneColorCopies()
      Returns the value of the sceneColorCopies record component.
      Returns:
      the value of the sceneColorCopies record component
    • sceneDepthCopies

      public int sceneDepthCopies()
      Returns the value of the sceneDepthCopies record component.
      Returns:
      the value of the sceneDepthCopies record component
    • transientTargetBytes

      public long transientTargetBytes()
      Returns the value of the transientTargetBytes record component.
      Returns:
      the value of the transientTargetBytes record component
    • meshCacheBytes

      public long meshCacheBytes()
      Returns the value of the meshCacheBytes record component.
      Returns:
      the value of the meshCacheBytes record component
    • compilationNanos

      public long compilationNanos()
      Returns the value of the compilationNanos record component.
      Returns:
      the value of the compilationNanos record component
    • submissionNanos

      public long submissionNanos()
      Returns the value of the submissionNanos record component.
      Returns:
      the value of the submissionNanos record component
    • bloomEmitters

      public int bloomEmitters()
      Returns the value of the bloomEmitters record component.
      Returns:
      the value of the bloomEmitters record component
    • bloomGroups

      public int bloomGroups()
      Returns the value of the bloomGroups record component.
      Returns:
      the value of the bloomGroups record component
    • bloomPasses

      public int bloomPasses()
      Returns the value of the bloomPasses record component.
      Returns:
      the value of the bloomPasses record component
    • bloomDepthCopies

      public int bloomDepthCopies()
      Returns the value of the bloomDepthCopies record component.
      Returns:
      the value of the bloomDepthCopies record component
    • bloomNanos

      public long bloomNanos()
      Returns the value of the bloomNanos record component.
      Returns:
      the value of the bloomNanos record component
    • meshUploads

      public int meshUploads()
      Returns the value of the meshUploads record component.
      Returns:
      the value of the meshUploads record component
    • meshUploadBytes

      public long meshUploadBytes()
      Returns the value of the meshUploadBytes record component.
      Returns:
      the value of the meshUploadBytes record component
    • instancedDraws

      public int instancedDraws()
      Returns the value of the instancedDraws record component.
      Returns:
      the value of the instancedDraws record component
    • drawnInstances

      public int drawnInstances()
      Returns the value of the drawnInstances record component.
      Returns:
      the value of the drawnInstances record component
    • instanceUploadBytes

      public long instanceUploadBytes()
      Returns the value of the instanceUploadBytes record component.
      Returns:
      the value of the instanceUploadBytes record component
    • instanceCacheBytes

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