类 RemappingVertexPipeline
java.lang.Object
net.minecraftforge.client.model.pipeline.RemappingVertexPipeline
- 所有已实现的接口:
VertexConsumer
,IForgeVertexConsumer
Vertex pipeline element that remaps incoming data to another format.
-
字段概要
字段修饰符和类型字段说明private final int[]
private static final int[]
private static final Set<VertexFormatElement>
private final int[][]
private final Map<VertexFormatElement,
Integer> private final org.joml.Vector3f
private final VertexConsumer
private final org.joml.Vector3d
private final VertexFormat
private final float[]
private final int[]
private final int[]
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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
-
字段详细资料
-
KNOWN_ELEMENTS
-
EMPTY_INT_ARRAY
private static final int[] EMPTY_INT_ARRAY -
parent
-
targetFormat
-
position
private final org.joml.Vector3d position -
normal
private final org.joml.Vector3f normal -
color
private final int[] color -
uv0
private final float[] uv0 -
uv1
private final int[] uv1 -
uv2
private final int[] uv2 -
miscElementIds
-
misc
private final int[][] misc
-
-
构造器详细资料
-
RemappingVertexPipeline
-
-
方法详细资料
-
vertex
- 指定者:
vertex
在接口中VertexConsumer
-
normal
- 指定者:
normal
在接口中VertexConsumer
-
color
- 指定者:
color
在接口中VertexConsumer
-
uv
- 指定者:
uv
在接口中VertexConsumer
-
overlayCoords
- 指定者:
overlayCoords
在接口中VertexConsumer
-
uv2
- 指定者:
uv2
在接口中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
-