类 VertexFormatElement
java.lang.Object
com.mojang.blaze3d.vertex.VertexFormatElement
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final int
private final int
private final int
private final VertexFormatElement.Type
private final VertexFormatElement.Usage
-
构造器概要
构造器构造器说明VertexFormatElement
(int pIndex, VertexFormatElement.Type pType, VertexFormatElement.Usage pUsage, int pCount) -
方法概要
修饰符和类型方法说明void
clearBufferState
(int pElementIndex) boolean
final int
final int
getCount()
int
final int
getIndex()
final VertexFormatElement.Type
getType()
getUsage()
int
hashCode()
final boolean
void
setupBufferState
(int pStateIndex, long pOffset, int pStride) private boolean
supportsUsage
(int pIndex, VertexFormatElement.Usage pUsage) toString()
-
字段详细资料
-
type
-
usage
-
index
private final int index -
count
private final int count -
byteSize
private final int byteSize
-
-
构造器详细资料
-
VertexFormatElement
public VertexFormatElement(int pIndex, VertexFormatElement.Type pType, VertexFormatElement.Usage pUsage, int pCount)
-
-
方法详细资料
-
supportsUsage
-
getType
-
getUsage
-
getCount
public final int getCount() -
getIndex
public final int getIndex() -
toString
-
getByteSize
public final int getByteSize() -
isPosition
public final boolean isPosition() -
equals
-
hashCode
public int hashCode() -
setupBufferState
public void setupBufferState(int pStateIndex, long pOffset, int pStride) -
clearBufferState
public void clearBufferState(int pElementIndex) -
getElementCount
public int getElementCount()
-