Package com.mojang.blaze3d.vertex
Class VertexFormat
java.lang.Object
com.mojang.blaze3d.vertex.VertexFormat
- All Implemented Interfaces:
IForgeVertexFormat
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate 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
-
Constructor Summary
ConstructorDescriptionVertexFormat
(com.google.common.collect.ImmutableMap<String, VertexFormatElement> p_166910_) -
Method Summary
Modifier and TypeMethodDescriptionprivate 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
int
hashCode()
void
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraftforge.client.extensions.IForgeVertexFormat
hasColor, hasNormal, hasPosition, hasUV
-
Field Details
-
elements
-
elementMapping
-
offsets
private final it.unimi.dsi.fastutil.ints.IntList offsets -
vertexSize
private final int vertexSize -
immediateDrawVertexBuffer
-
-
Constructor Details
-
VertexFormat
-
-
Method Details
-
toString
-
getIntegerSize
public int getIntegerSize() -
getVertexSize
public int getVertexSize() -
getElements
- Specified by:
getElements
in interfaceIForgeVertexFormat
-
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)
-