类 VertexConsumerWrapper
java.lang.Object
net.minecraftforge.client.model.pipeline.VertexConsumerWrapper
- 所有已实现的接口:
VertexConsumer
,IForgeVertexConsumer
- 直接已知子类:
TransformingVertexPipeline
Wrapper for
VertexConsumer
which delegates all operations to its parent.
Useful for defining custom pipeline elements that only process certain data.
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明color
(int r, int g, int b, int a) void
defaultColor
(int r, int g, int b, int a) void
misc
(VertexFormatElement element, int... values) Consumes an unknownVertexFormatElement
as a raw int data array.normal
(float x, float y, float z) overlayCoords
(int u, int v) void
uv
(float u, float v) uv2
(int u, int v) vertex
(double x, double y, double z) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraftforge.client.extensions.IForgeVertexConsumer
applyBakedLighting, applyBakedNormals, putBulkData
从接口继承的方法 com.mojang.blaze3d.vertex.VertexConsumer
color, color, normal, overlayCoords, putBulkData, putBulkData, putBulkData, uv2, vertex, vertex
-
字段详细资料
-
parent
-
-
构造器详细资料
-
VertexConsumerWrapper
-
-
方法详细资料
-
vertex
- 指定者:
vertex
在接口中VertexConsumer
-
color
- 指定者:
color
在接口中VertexConsumer
-
uv
- 指定者:
uv
在接口中VertexConsumer
-
overlayCoords
- 指定者:
overlayCoords
在接口中VertexConsumer
-
uv2
- 指定者:
uv2
在接口中VertexConsumer
-
normal
- 指定者:
normal
在接口中VertexConsumer
-
misc
从接口复制的说明:IForgeVertexConsumer
Consumes an unknownVertexFormatElement
as 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.
- 指定者:
misc
在接口中IForgeVertexConsumer
-
endVertex
public void endVertex()- 指定者:
endVertex
在接口中VertexConsumer
-
defaultColor
public void defaultColor(int r, int g, int b, int a) - 指定者:
defaultColor
在接口中VertexConsumer
-
unsetDefaultColor
public void unsetDefaultColor()- 指定者:
unsetDefaultColor
在接口中VertexConsumer
-