Class NormalAttribute
java.lang.Object
codechicken.lib.render.pipeline.VertexAttribute<Vector3[]>
codechicken.lib.render.pipeline.attribute.NormalAttribute
- All Implemented Interfaces:
IVertexOperation
Apples normals to the render operation. If the model is a planar model it uses known normals.
-
Nested Class Summary
Nested classes/interfaces inherited from interface codechicken.lib.render.pipeline.IVertexOperation
IVertexOperation.VertexOperationRegistry -
Field Summary
FieldsFields inherited from class codechicken.lib.render.pipeline.VertexAttribute
active -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanload(CCRenderState ccrs) 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 modelvoidoperate(CCRenderState ccrs) Perform the operation on the current render stateMethods inherited from class codechicken.lib.render.pipeline.VertexAttribute
operationID
-
Field Details
-
attributeKey
-
-
Constructor Details
-
NormalAttribute
public NormalAttribute()
-
-
Method Details
-
load
Description copied from interface:IVertexOperationLoad 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
Description copied from interface:IVertexOperationPerform the operation on the current render state
-