java.lang.Object
committee.nova.mods.avaritia.api.client.render.lighting.PlanarLightModel
所有已实现的接口:
IVertexOperation

public class PlanarLightModel extends Object implements IVertexOperation
Faster precomputed version of LightModel that only works for axis planar sides
  • 字段详细资料

    • standardLightModel

      public static PlanarLightModel standardLightModel
    • colours

      public int[] colours
  • 构造器详细资料

    • PlanarLightModel

      public PlanarLightModel(int[] colours)
  • 方法详细资料

    • load

      public boolean load(CCRenderState ccrs)
      从接口复制的说明: 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
      指定者:
      load 在接口中 IVertexOperation
    • operate

      public void operate(CCRenderState ccrs)
      从接口复制的说明: IVertexOperation
      Perform the operation on the current render state
      指定者:
      operate 在接口中 IVertexOperation
    • operationID

      public int operationID()
      从接口复制的说明: IVertexOperation
      Get the unique id representing this type of operation. Duplicate operation IDs within the pipeline may have unexpected results. ID should be obtained from CCRenderState.registerOperation() and stored in a static variable
      指定者:
      operationID 在接口中 IVertexOperation