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 -
Constructor Summary
ConstructorsConstructorDescriptionWorldVfxStats(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 aWorldVfxStatsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theauthoredNodesrecord component.intReturns the value of thebloomDepthCopiesrecord component.intReturns the value of thebloomEmittersrecord component.intReturns the value of thebloomGroupsrecord component.longReturns the value of thebloomNanosrecord component.intReturns the value of thebloomPassesrecord component.longReturns the value of thecacheHitsrecord component.longReturns the value of thecacheMissesrecord component.longReturns the value of thecompilationNanosrecord component.intReturns the value of thecompiledProgramsrecord component.intReturns the value of thedegradedNodesrecord component.intReturns the value of thedrawnInstancesrecord component.intReturns the value of thedrawSubmissionsrecord component.final booleanIndicates whether some other object is "equal to" this one.longframeId()Returns the value of theframeIdrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of theinstanceCacheBytesrecord component.intReturns the value of theinstancedDrawsrecord component.longReturns the value of theinstanceUploadBytesrecord component.intReturns the value of theloweredOperationsrecord component.longReturns the value of themeshCacheBytesrecord component.longReturns the value of themeshUploadBytesrecord component.intReturns the value of themeshUploadsrecord component.intReturns the value of thesceneColorCopiesrecord component.intReturns the value of thesceneDepthCopiesrecord component.longReturns the value of thesubmissionNanosrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetransientTargetBytesrecord component.
-
Field Details
-
EMPTY
-
-
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 aWorldVfxStatsrecord class.- Parameters:
frameId- the value for theframeIdrecord componentauthoredNodes- the value for theauthoredNodesrecord componentloweredOperations- the value for theloweredOperationsrecord componentdegradedNodes- the value for thedegradedNodesrecord componentcompiledPrograms- the value for thecompiledProgramsrecord componentcacheHits- the value for thecacheHitsrecord componentcacheMisses- the value for thecacheMissesrecord componentdrawSubmissions- the value for thedrawSubmissionsrecord componentsceneColorCopies- the value for thesceneColorCopiesrecord componentsceneDepthCopies- the value for thesceneDepthCopiesrecord componenttransientTargetBytes- the value for thetransientTargetBytesrecord componentmeshCacheBytes- the value for themeshCacheBytesrecord componentcompilationNanos- the value for thecompilationNanosrecord componentsubmissionNanos- the value for thesubmissionNanosrecord componentbloomEmitters- the value for thebloomEmittersrecord componentbloomGroups- the value for thebloomGroupsrecord componentbloomPasses- the value for thebloomPassesrecord componentbloomDepthCopies- the value for thebloomDepthCopiesrecord componentbloomNanos- the value for thebloomNanosrecord componentmeshUploads- the value for themeshUploadsrecord componentmeshUploadBytes- the value for themeshUploadBytesrecord componentinstancedDraws- the value for theinstancedDrawsrecord componentdrawnInstances- the value for thedrawnInstancesrecord componentinstanceUploadBytes- the value for theinstanceUploadBytesrecord componentinstanceCacheBytes- the value for theinstanceCacheBytesrecord 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. -
frameId
public long frameId()Returns the value of theframeIdrecord component.- Returns:
- the value of the
frameIdrecord component
-
authoredNodes
public int authoredNodes()Returns the value of theauthoredNodesrecord component.- Returns:
- the value of the
authoredNodesrecord component
-
loweredOperations
public int loweredOperations()Returns the value of theloweredOperationsrecord component.- Returns:
- the value of the
loweredOperationsrecord component
-
degradedNodes
public int degradedNodes()Returns the value of thedegradedNodesrecord component.- Returns:
- the value of the
degradedNodesrecord component
-
compiledPrograms
public int compiledPrograms()Returns the value of thecompiledProgramsrecord component.- Returns:
- the value of the
compiledProgramsrecord component
-
cacheHits
public long cacheHits()Returns the value of thecacheHitsrecord component.- Returns:
- the value of the
cacheHitsrecord component
-
cacheMisses
public long cacheMisses()Returns the value of thecacheMissesrecord component.- Returns:
- the value of the
cacheMissesrecord component
-
drawSubmissions
public int drawSubmissions()Returns the value of thedrawSubmissionsrecord component.- Returns:
- the value of the
drawSubmissionsrecord component
-
sceneColorCopies
public int sceneColorCopies()Returns the value of thesceneColorCopiesrecord component.- Returns:
- the value of the
sceneColorCopiesrecord component
-
sceneDepthCopies
public int sceneDepthCopies()Returns the value of thesceneDepthCopiesrecord component.- Returns:
- the value of the
sceneDepthCopiesrecord component
-
transientTargetBytes
public long transientTargetBytes()Returns the value of thetransientTargetBytesrecord component.- Returns:
- the value of the
transientTargetBytesrecord component
-
meshCacheBytes
public long meshCacheBytes()Returns the value of themeshCacheBytesrecord component.- Returns:
- the value of the
meshCacheBytesrecord component
-
compilationNanos
public long compilationNanos()Returns the value of thecompilationNanosrecord component.- Returns:
- the value of the
compilationNanosrecord component
-
submissionNanos
public long submissionNanos()Returns the value of thesubmissionNanosrecord component.- Returns:
- the value of the
submissionNanosrecord component
-
bloomEmitters
public int bloomEmitters()Returns the value of thebloomEmittersrecord component.- Returns:
- the value of the
bloomEmittersrecord component
-
bloomGroups
public int bloomGroups()Returns the value of thebloomGroupsrecord component.- Returns:
- the value of the
bloomGroupsrecord component
-
bloomPasses
public int bloomPasses()Returns the value of thebloomPassesrecord component.- Returns:
- the value of the
bloomPassesrecord component
-
bloomDepthCopies
public int bloomDepthCopies()Returns the value of thebloomDepthCopiesrecord component.- Returns:
- the value of the
bloomDepthCopiesrecord component
-
bloomNanos
public long bloomNanos()Returns the value of thebloomNanosrecord component.- Returns:
- the value of the
bloomNanosrecord component
-
meshUploads
public int meshUploads()Returns the value of themeshUploadsrecord component.- Returns:
- the value of the
meshUploadsrecord component
-
meshUploadBytes
public long meshUploadBytes()Returns the value of themeshUploadBytesrecord component.- Returns:
- the value of the
meshUploadBytesrecord component
-
instancedDraws
public int instancedDraws()Returns the value of theinstancedDrawsrecord component.- Returns:
- the value of the
instancedDrawsrecord component
-
drawnInstances
public int drawnInstances()Returns the value of thedrawnInstancesrecord component.- Returns:
- the value of the
drawnInstancesrecord component
-
instanceUploadBytes
public long instanceUploadBytes()Returns the value of theinstanceUploadBytesrecord component.- Returns:
- the value of the
instanceUploadBytesrecord component
-
instanceCacheBytes
public long instanceCacheBytes()Returns the value of theinstanceCacheBytesrecord component.- Returns:
- the value of the
instanceCacheBytesrecord component
-