类 VertexFormat
java.lang.Object
com.mojang.blaze3d.vertex.VertexFormat
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final com.google.common.collect.ImmutableMap<String,
VertexFormatElement> private final com.google.common.collect.ImmutableList<VertexFormatElement>
private VertexBuffer
private final it.unimi.dsi.fastutil.ints.IntList
private final int
-
构造器概要
构造器构造器说明VertexFormat
(com.google.common.collect.ImmutableMap<String, VertexFormatElement> pElementMapping) -
方法概要
修饰符和类型方法说明private void
private void
void
boolean
com.google.common.collect.ImmutableList<String>
com.google.common.collect.ImmutableMap<String,
VertexFormatElement> com.google.common.collect.ImmutableList<VertexFormatElement>
int
int
getOffset
(int index) int
boolean
hasColor()
int
hashCode()
boolean
boolean
boolean
hasUV
(int which) void
toString()
-
字段详细资料
-
elements
-
elementMapping
-
offsets
private final it.unimi.dsi.fastutil.ints.IntList offsets -
vertexSize
private final int vertexSize -
immediateDrawVertexBuffer
-
-
构造器详细资料
-
VertexFormat
public VertexFormat(com.google.common.collect.ImmutableMap<String, VertexFormatElement> pElementMapping)
-
-
方法详细资料
-
toString
-
getIntegerSize
public int getIntegerSize() -
getVertexSize
public int getVertexSize() -
getElements
-
getElementAttributeNames
-
equals
-
hashCode
public int hashCode() -
setupBufferState
public void setupBufferState() -
_setupBufferState
private void _setupBufferState() -
clearBufferState
public void clearBufferState() -
_clearBufferState
private void _clearBufferState() -
getImmediateDrawVertexBuffer
-
getElementMapping
-
getOffset
public int getOffset(int index) -
hasPosition
public boolean hasPosition() -
hasNormal
public boolean hasNormal() -
hasColor
public boolean hasColor() -
hasUV
public boolean hasUV(int which)
-