Package net.minecraft.client.render
Class VertexFormat
java.lang.Object
net.minecraft.client.render.VertexFormat
Defines what
elements a vertex has.- Mappings:
Namespace Name named net/minecraft/client/render/VertexFormatintermediary net/minecraft/class_293official eyx
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable VertexBufferprivate final ImmutableMap<String, VertexFormatElement> private final ImmutableList<VertexFormatElement> private final IntListprivate final int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
elements
- Mappings:
Namespace Name Mixin selector named elementsLnet/minecraft/client/render/VertexFormat;elements:Lcom/google/common/collect/ImmutableList;intermediary field_1602Lnet/minecraft/class_293;field_1602:Lcom/google/common/collect/ImmutableList;official aLeyx;a:Lcom/google/common/collect/ImmutableList;
-
elementMap
- Mappings:
Namespace Name Mixin selector named elementMapLnet/minecraft/client/render/VertexFormat;elementMap:Lcom/google/common/collect/ImmutableMap;intermediary field_29340Lnet/minecraft/class_293;field_29340:Lcom/google/common/collect/ImmutableMap;official bLeyx;b:Lcom/google/common/collect/ImmutableMap;
-
offsets
- Mappings:
Namespace Name Mixin selector named offsetsLnet/minecraft/client/render/VertexFormat;offsets:Lit/unimi/dsi/fastutil/ints/IntList;intermediary field_1597Lnet/minecraft/class_293;field_1597:Lit/unimi/dsi/fastutil/ints/IntList;official cLeyx;c:Lit/unimi/dsi/fastutil/ints/IntList;
-
vertexSizeByte
private final int vertexSizeByte- Mappings:
Namespace Name Mixin selector named vertexSizeByteLnet/minecraft/client/render/VertexFormat;vertexSizeByte:Iintermediary field_1600Lnet/minecraft/class_293;field_1600:Iofficial dLeyx;d:I
-
buffer
- Mappings:
Namespace Name Mixin selector named bufferLnet/minecraft/client/render/VertexFormat;buffer:Lnet/minecraft/client/gl/VertexBuffer;intermediary field_38984Lnet/minecraft/class_293;field_38984:Lnet/minecraft/class_291;official eLeyx;e:Leyv;
-
-
Constructor Details
-
VertexFormat
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/VertexFormat;<init>(Lcom/google/common/collect/ImmutableMap;)Vintermediary <init>Lnet/minecraft/class_293;<init>(Lcom/google/common/collect/ImmutableMap;)Vofficial <init>Leyx;<init>(Lcom/google/common/collect/ImmutableMap;)V
-
-
Method Details
-
toString
-
getVertexSizeInteger
public int getVertexSizeInteger()- Mappings:
Namespace Name Mixin selector named getVertexSizeIntegerLnet/minecraft/client/render/VertexFormat;getVertexSizeInteger()Iintermediary method_1359Lnet/minecraft/class_293;method_1359()Iofficial aLeyx;a()I
-
getVertexSizeByte
public int getVertexSizeByte()- Mappings:
Namespace Name Mixin selector named getVertexSizeByteLnet/minecraft/client/render/VertexFormat;getVertexSizeByte()Iintermediary method_1362Lnet/minecraft/class_293;method_1362()Iofficial bLeyx;b()I
-
getElements
- Mappings:
Namespace Name Mixin selector named getElementsLnet/minecraft/client/render/VertexFormat;getElements()Lcom/google/common/collect/ImmutableList;intermediary method_1357Lnet/minecraft/class_293;method_1357()Lcom/google/common/collect/ImmutableList;official cLeyx;c()Lcom/google/common/collect/ImmutableList;
-
getAttributeNames
- Mappings:
Namespace Name Mixin selector named getAttributeNamesLnet/minecraft/client/render/VertexFormat;getAttributeNames()Lcom/google/common/collect/ImmutableList;intermediary method_34445Lnet/minecraft/class_293;method_34445()Lcom/google/common/collect/ImmutableList;official dLeyx;d()Lcom/google/common/collect/ImmutableList;
-
equals
-
hashCode
public int hashCode() -
setupState
public void setupState()Specifies for OpenGL how the vertex data should be interpreted.- Mappings:
Namespace Name Mixin selector named setupStateLnet/minecraft/client/render/VertexFormat;setupState()Vintermediary method_22649Lnet/minecraft/class_293;method_22649()Vofficial eLeyx;e()V
-
setupStateInternal
private void setupStateInternal()- Mappings:
Namespace Name Mixin selector named setupStateInternalLnet/minecraft/client/render/VertexFormat;setupStateInternal()Vintermediary method_34449Lnet/minecraft/class_293;method_34449()Vofficial hLeyx;h()V
-
clearState
public void clearState()- Mappings:
Namespace Name Mixin selector named clearStateLnet/minecraft/client/render/VertexFormat;clearState()Vintermediary method_22651Lnet/minecraft/class_293;method_22651()Vofficial fLeyx;f()V
-
clearStateInternal
private void clearStateInternal()- Mappings:
Namespace Name Mixin selector named clearStateInternalLnet/minecraft/client/render/VertexFormat;clearStateInternal()Vintermediary method_34450Lnet/minecraft/class_293;method_34450()Vofficial iLeyx;i()V
-
getBuffer
Returns a vertex buffer shared with the users of this vertex format.The data uploaded to the returned vertex buffer cannot be reused as it can be overwritten by other users of this method.
- Returns:
- a vertex buffer shared with the users of this vertex format
- Mappings:
Namespace Name Mixin selector named getBufferLnet/minecraft/client/render/VertexFormat;getBuffer()Lnet/minecraft/client/gl/VertexBuffer;intermediary method_43446Lnet/minecraft/class_293;method_43446()Lnet/minecraft/class_291;official gLeyx;g()Leyv;
-