Record Class GuiRenderStats
java.lang.Object
java.lang.Record
com.render.api.gui.GuiRenderStats
- Record Components:
frameId- monotonically increasing compilation identifiergraphNodes- total immutable nodescontentNodes- retained content nodestransformNodes- transform wrappersclipNodes- clip wrappersmaskNodes- mask wrappersfilterNodes- foreground filter wrappersbackdropNodes- backdrop filter wrapperslayerNodes- nodes requiring an isolated layer on a full compositordegradedNodes- nodes rendered through a portable fallbacktransientTargetBytes- transient GPU bytes allocated by this graphfilterPasses- executed filter passescompilationNanos- graph compilation time
public record GuiRenderStats(long frameId, int graphNodes, int contentNodes, int transformNodes, int clipNodes, int maskNodes, int filterNodes, int backdropNodes, int layerNodes, int degradedNodes, long transientTargetBytes, int filterPasses, long compilationNanos)
extends Record
Statistics for one immutable GUI render-graph compilation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGuiRenderStats(long frameId, int graphNodes, int contentNodes, int transformNodes, int clipNodes, int maskNodes, int filterNodes, int backdropNodes, int layerNodes, int degradedNodes, long transientTargetBytes, int filterPasses, long compilationNanos) Creates an instance of aGuiRenderStatsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebackdropNodesrecord component.intReturns the value of theclipNodesrecord component.longReturns the value of thecompilationNanosrecord component.intReturns the value of thecontentNodesrecord component.intReturns the value of thedegradedNodesrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefilterNodesrecord component.intReturns the value of thefilterPassesrecord component.longframeId()Returns the value of theframeIdrecord component.intReturns the value of thegraphNodesrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thelayerNodesrecord component.intReturns the value of themaskNodesrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thetransformNodesrecord component.longReturns the value of thetransientTargetBytesrecord component.
-
Field Details
-
EMPTY
-
-
Constructor Details
-
GuiRenderStats
public GuiRenderStats(long frameId, int graphNodes, int contentNodes, int transformNodes, int clipNodes, int maskNodes, int filterNodes, int backdropNodes, int layerNodes, int degradedNodes, long transientTargetBytes, int filterPasses, long compilationNanos) Creates an instance of aGuiRenderStatsrecord class.- Parameters:
frameId- the value for theframeIdrecord componentgraphNodes- the value for thegraphNodesrecord componentcontentNodes- the value for thecontentNodesrecord componenttransformNodes- the value for thetransformNodesrecord componentclipNodes- the value for theclipNodesrecord componentmaskNodes- the value for themaskNodesrecord componentfilterNodes- the value for thefilterNodesrecord componentbackdropNodes- the value for thebackdropNodesrecord componentlayerNodes- the value for thelayerNodesrecord componentdegradedNodes- the value for thedegradedNodesrecord componenttransientTargetBytes- the value for thetransientTargetBytesrecord componentfilterPasses- the value for thefilterPassesrecord componentcompilationNanos- the value for thecompilationNanosrecord 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
-
graphNodes
public int graphNodes()Returns the value of thegraphNodesrecord component.- Returns:
- the value of the
graphNodesrecord component
-
contentNodes
public int contentNodes()Returns the value of thecontentNodesrecord component.- Returns:
- the value of the
contentNodesrecord component
-
transformNodes
public int transformNodes()Returns the value of thetransformNodesrecord component.- Returns:
- the value of the
transformNodesrecord component
-
clipNodes
-
maskNodes
-
filterNodes
public int filterNodes()Returns the value of thefilterNodesrecord component.- Returns:
- the value of the
filterNodesrecord component
-
backdropNodes
public int backdropNodes()Returns the value of thebackdropNodesrecord component.- Returns:
- the value of the
backdropNodesrecord component
-
layerNodes
public int layerNodes()Returns the value of thelayerNodesrecord component.- Returns:
- the value of the
layerNodesrecord component
-
degradedNodes
public int degradedNodes()Returns the value of thedegradedNodesrecord component.- Returns:
- the value of the
degradedNodesrecord component
-
transientTargetBytes
public long transientTargetBytes()Returns the value of thetransientTargetBytesrecord component.- Returns:
- the value of the
transientTargetBytesrecord component
-
filterPasses
public int filterPasses()Returns the value of thefilterPassesrecord component.- Returns:
- the value of the
filterPassesrecord component
-
compilationNanos
public long compilationNanos()Returns the value of thecompilationNanosrecord component.- Returns:
- the value of the
compilationNanosrecord component
-