Class QuadGatheringTransformer

java.lang.Object
net.minecraftforge.client.model.pipeline.QuadGatheringTransformer
All Implemented Interfaces:
IVertexConsumer
Direct Known Subclasses:
VertexLighterFlat

public abstract class QuadGatheringTransformer extends Object implements IVertexConsumer
  • Field Details

    • parent

      protected IVertexConsumer parent
    • format

      protected VertexFormat format
    • vertices

      protected int vertices
    • dataLength

      protected byte[] dataLength
    • quadData

      protected float[][][] quadData
  • Constructor Details

    • QuadGatheringTransformer

      public QuadGatheringTransformer()
  • Method Details

    • setParent

      public void setParent(IVertexConsumer parent)
    • setVertexFormat

      public void setVertexFormat(VertexFormat format)
    • getVertexFormat

      public VertexFormat getVertexFormat()
      Specified by:
      getVertexFormat in interface IVertexConsumer
      Returns:
      the format that should be used for passed data.
    • put

      public void put(int element, float... data)
      Specified by:
      put in interface IVertexConsumer
    • processQuad

      protected abstract void processQuad()