Class LightCoordAttribute

java.lang.Object
codechicken.lib.render.pipeline.VertexAttribute<LC[]>
codechicken.lib.render.pipeline.attribute.LightCoordAttribute
All Implemented Interfaces:
IVertexOperation

public class LightCoordAttribute extends VertexAttribute<LC[]>
Uses the position of the lightmatrix to compute LC if not provided
  • Field Details

  • Constructor Details

    • LightCoordAttribute

      public LightCoordAttribute()
  • Method Details

    • load

      public boolean load(CCRenderState ccrs)
      Description copied from interface: IVertexOperation
      Load any required references and add dependencies to the pipeline based on the current model (may be null) Return false if this operation is redundant in the pipeline with the given model
    • operate

      public void operate(CCRenderState ccrs)
      Description copied from interface: IVertexOperation
      Perform the operation on the current render state