Class VertexConsumerWrapper
java.lang.Object
net.minecraftforge.client.model.pipeline.VertexConsumerWrapper
- All Implemented Interfaces:
- VertexConsumer,- IForgeVertexConsumer
- Direct Known Subclasses:
- TransformingVertexPipeline
Wrapper for 
VertexConsumer which delegates all operations to its parent.
 Useful for defining custom pipeline elements that only process certain data.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncolor(int r, int g, int b, int a) voiddefaultColor(int r, int g, int b, int a) voidmisc(VertexFormatElement element, int... values) Consumes an unknownVertexFormatElementas a raw int data array.normal(float x, float y, float z) overlayCoords(int u, int v) voiduv(float u, float v) uv2(int u, int v) vertex(double x, double y, double z) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.client.extensions.IForgeVertexConsumerapplyBakedLighting, applyBakedNormals, putBulkDataMethods inherited from interface com.mojang.blaze3d.vertex.VertexConsumercolor, color, normal, overlayCoords, putBulkData, putBulkData, putBulkData, uv2, vertex, vertex
- 
Field Details- 
parent
 
- 
- 
Constructor Details- 
VertexConsumerWrapper
 
- 
- 
Method Details- 
vertex- Specified by:
- vertexin interface- VertexConsumer
 
- 
color- Specified by:
- colorin interface- VertexConsumer
 
- 
uv- Specified by:
- uvin interface- VertexConsumer
 
- 
overlayCoords- Specified by:
- overlayCoordsin interface- VertexConsumer
 
- 
uv2- Specified by:
- uv2in interface- VertexConsumer
 
- 
normal- Specified by:
- normalin interface- VertexConsumer
 
- 
miscDescription copied from interface:IForgeVertexConsumerConsumes an unknownVertexFormatElementas a raw int data array.If the consumer needs to store the data for later use, it must copy it. There are no guarantees on immutability. - Specified by:
- miscin interface- IForgeVertexConsumer
 
- 
endVertexpublic void endVertex()- Specified by:
- endVertexin interface- VertexConsumer
 
- 
defaultColorpublic void defaultColor(int r, int g, int b, int a) - Specified by:
- defaultColorin interface- VertexConsumer
 
- 
unsetDefaultColorpublic void unsetDefaultColor()- Specified by:
- unsetDefaultColorin interface- VertexConsumer
 
 
-