Record Class GuiRenderStats

java.lang.Object
java.lang.Record
com.render.api.gui.GuiRenderStats
Record Components:
frameId - monotonically increasing compilation identifier
graphNodes - total immutable nodes
contentNodes - retained content nodes
transformNodes - transform wrappers
clipNodes - clip wrappers
maskNodes - mask wrappers
filterNodes - foreground filter wrappers
backdropNodes - backdrop filter wrappers
layerNodes - nodes requiring an isolated layer on a full compositor
degradedNodes - nodes rendered through a portable fallback
transientTargetBytes - transient GPU bytes allocated by this graph
filterPasses - executed filter passes
compilationNanos - 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 Details

  • 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 a GuiRenderStats record class.
      Parameters:
      frameId - the value for the frameId record component
      graphNodes - the value for the graphNodes record component
      contentNodes - the value for the contentNodes record component
      transformNodes - the value for the transformNodes record component
      clipNodes - the value for the clipNodes record component
      maskNodes - the value for the maskNodes record component
      filterNodes - the value for the filterNodes record component
      backdropNodes - the value for the backdropNodes record component
      layerNodes - the value for the layerNodes record component
      degradedNodes - the value for the degradedNodes record component
      transientTargetBytes - the value for the transientTargetBytes record component
      filterPasses - the value for the filterPasses record component
      compilationNanos - the value for the compilationNanos 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
    • graphNodes

      public int graphNodes()
      Returns the value of the graphNodes record component.
      Returns:
      the value of the graphNodes record component
    • contentNodes

      public int contentNodes()
      Returns the value of the contentNodes record component.
      Returns:
      the value of the contentNodes record component
    • transformNodes

      public int transformNodes()
      Returns the value of the transformNodes record component.
      Returns:
      the value of the transformNodes record component
    • clipNodes

      public int clipNodes()
      Returns the value of the clipNodes record component.
      Returns:
      the value of the clipNodes record component
    • maskNodes

      public int maskNodes()
      Returns the value of the maskNodes record component.
      Returns:
      the value of the maskNodes record component
    • filterNodes

      public int filterNodes()
      Returns the value of the filterNodes record component.
      Returns:
      the value of the filterNodes record component
    • backdropNodes

      public int backdropNodes()
      Returns the value of the backdropNodes record component.
      Returns:
      the value of the backdropNodes record component
    • layerNodes

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

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

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

      public int filterPasses()
      Returns the value of the filterPasses record component.
      Returns:
      the value of the filterPasses record component
    • compilationNanos

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