Record Class GuiRenderExecutionStats
java.lang.Object
java.lang.Record
com.render.api.gui.GuiRenderExecutionStats
- Record Components:
passId- monotonically increasing GUI-pass identifiercopies- submitted texture or shader copy operationseffectPasses- submitted filter, mask, or layer-composite draw passestargetAcquisitions- successful transient target leasesreusedTargets- leases served by existing targetsallocatedTargetBytes- bytes of targets created during the passresidentTargetBytes- live and retired target bytes at pass completionpeakLeasedTargetBytes- maximum bytes held by simultaneous leases during the passmaskRasterPixels- mask pixels generated on the CPU, excluding cached rastersmaskCacheHits- CPU raster or unchanged target-upload cache hitsmaskUploadBytes- RGBA bytes uploaded to mask texturesmaskRasterNanos- CPU mask rasterization time, excluding upload and image conversionfailures- reported backend degradation or failure at pass completion
public record GuiRenderExecutionStats(long passId, long copies, long effectPasses, long targetAcquisitions, long reusedTargets, long allocatedTargetBytes, long residentTargetBytes, long peakLeasedTargetBytes, long maskRasterPixels, long maskCacheHits, long maskUploadBytes, long maskRasterNanos, List<String> failures)
extends Record
Immutable counters for the last completed extracted GUI pass, shared by all GUI/HUD hosts in that pass.
These count submitted backend operations, not GPU completion or elapsed GPU time. Copies include shader-based bounded
copies; effect passes exclude those copies. Pool bytes include retained view-transition leases, and allocation bytes
count newly created targets rather than reused targets. Use GuiHostView.renderStats() for the separate
per-host compilation plan.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGuiRenderExecutionStats(long passId, long copies, long effectPasses, long targetAcquisitions, long reusedTargets, long allocatedTargetBytes, long residentTargetBytes, long peakLeasedTargetBytes, long maskRasterPixels, long maskCacheHits, long maskUploadBytes, long maskRasterNanos, List<String> failures) Creates an instance of aGuiRenderExecutionStatsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of theallocatedTargetBytesrecord component.longcopies()Returns the value of thecopiesrecord component.longReturns the value of theeffectPassesrecord component.final booleanIndicates whether some other object is "equal to" this one.failures()Returns the value of thefailuresrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of themaskCacheHitsrecord component.longReturns the value of themaskRasterNanosrecord component.longReturns the value of themaskRasterPixelsrecord component.longReturns the value of themaskUploadBytesrecord component.longpassId()Returns the value of thepassIdrecord component.longReturns the value of thepeakLeasedTargetBytesrecord component.longReturns the value of theresidentTargetBytesrecord component.longReturns the value of thereusedTargetsrecord component.longReturns the value of thetargetAcquisitionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
EMPTY
-
-
Constructor Details
-
GuiRenderExecutionStats
public GuiRenderExecutionStats(long passId, long copies, long effectPasses, long targetAcquisitions, long reusedTargets, long allocatedTargetBytes, long residentTargetBytes, long peakLeasedTargetBytes, long maskRasterPixels, long maskCacheHits, long maskUploadBytes, long maskRasterNanos, List<String> failures) Creates an instance of aGuiRenderExecutionStatsrecord class.- Parameters:
passId- the value for thepassIdrecord componentcopies- the value for thecopiesrecord componenteffectPasses- the value for theeffectPassesrecord componenttargetAcquisitions- the value for thetargetAcquisitionsrecord componentreusedTargets- the value for thereusedTargetsrecord componentallocatedTargetBytes- the value for theallocatedTargetBytesrecord componentresidentTargetBytes- the value for theresidentTargetBytesrecord componentpeakLeasedTargetBytes- the value for thepeakLeasedTargetBytesrecord componentmaskRasterPixels- the value for themaskRasterPixelsrecord componentmaskCacheHits- the value for themaskCacheHitsrecord componentmaskUploadBytes- the value for themaskUploadBytesrecord componentmaskRasterNanos- the value for themaskRasterNanosrecord componentfailures- the value for thefailuresrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
passId
-
copies
-
effectPasses
public long effectPasses()Returns the value of theeffectPassesrecord component.- Returns:
- the value of the
effectPassesrecord component
-
targetAcquisitions
public long targetAcquisitions()Returns the value of thetargetAcquisitionsrecord component.- Returns:
- the value of the
targetAcquisitionsrecord component
-
reusedTargets
public long reusedTargets()Returns the value of thereusedTargetsrecord component.- Returns:
- the value of the
reusedTargetsrecord component
-
allocatedTargetBytes
public long allocatedTargetBytes()Returns the value of theallocatedTargetBytesrecord component.- Returns:
- the value of the
allocatedTargetBytesrecord component
-
residentTargetBytes
public long residentTargetBytes()Returns the value of theresidentTargetBytesrecord component.- Returns:
- the value of the
residentTargetBytesrecord component
-
peakLeasedTargetBytes
public long peakLeasedTargetBytes()Returns the value of thepeakLeasedTargetBytesrecord component.- Returns:
- the value of the
peakLeasedTargetBytesrecord component
-
maskRasterPixels
public long maskRasterPixels()Returns the value of themaskRasterPixelsrecord component.- Returns:
- the value of the
maskRasterPixelsrecord component
-
maskCacheHits
public long maskCacheHits()Returns the value of themaskCacheHitsrecord component.- Returns:
- the value of the
maskCacheHitsrecord component
-
maskUploadBytes
public long maskUploadBytes()Returns the value of themaskUploadBytesrecord component.- Returns:
- the value of the
maskUploadBytesrecord component
-
maskRasterNanos
public long maskRasterNanos()Returns the value of themaskRasterNanosrecord component.- Returns:
- the value of the
maskRasterNanosrecord component
-
failures
-