Package com.mojang.blaze3d.vertex
Class VertexFormat
java.lang.Object
com.mojang.blaze3d.vertex.VertexFormat
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumstatic enum
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableMap<String,VertexFormatElement> private final com.google.common.collect.ImmutableList<VertexFormatElement>private VertexBufferprivate final it.unimi.dsi.fastutil.ints.IntListprivate final int
- 
Constructor SummaryConstructorsConstructorDescriptionVertexFormat(com.google.common.collect.ImmutableMap<String, VertexFormatElement> p_166910_) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidprivate voidvoidbooleancom.google.common.collect.ImmutableList<String>com.google.common.collect.ImmutableMap<String,VertexFormatElement> com.google.common.collect.ImmutableList<VertexFormatElement>intintgetOffset(int index) intbooleanhasColor()inthashCode()booleanbooleanbooleanhasUV(int which) voidtoString()
- 
Field Details- 
elements
- 
elementMapping
- 
offsetsprivate final it.unimi.dsi.fastutil.ints.IntList offsets
- 
vertexSizeprivate final int vertexSize
- 
immediateDrawVertexBuffer
 
- 
- 
Constructor Details- 
VertexFormat
 
- 
- 
Method Details- 
toString
- 
getIntegerSizepublic int getIntegerSize()
- 
getVertexSizepublic int getVertexSize()
- 
getElements
- 
getElementAttributeNames
- 
equals
- 
hashCodepublic int hashCode()
- 
setupBufferStatepublic void setupBufferState()
- 
_setupBufferStateprivate void _setupBufferState()
- 
clearBufferStatepublic void clearBufferState()
- 
_clearBufferStateprivate void _clearBufferState()
- 
getImmediateDrawVertexBuffer
- 
getElementMapping
- 
getOffsetpublic int getOffset(int index) 
- 
hasPositionpublic boolean hasPosition()
- 
hasNormalpublic boolean hasNormal()
- 
hasColorpublic boolean hasColor()
- 
hasUVpublic boolean hasUV(int which) 
 
-