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)
extends Record
Per-frame and cache diagnostics for the independent world VFX subsystem.
-
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) Creates an instance of aWorldVfxStatsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theauthoredNodesrecord 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 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.intReturns the value of theloweredOperationsrecord component.longReturns the value of themeshCacheBytesrecord 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) 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 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
-