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/VertexFormat
intermediary net/minecraft/class_293
official fbh
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate @Nullable VertexBuffer
private final List
<VertexFormatElement> static final int
private final int
private final int[]
private final int
-
Constructor Summary
ConstructorDescriptionVertexFormat
(List<VertexFormatElement> list, List<String> list2, IntList intList, int int2) -
Method Summary
Modifier and TypeMethodDescriptionvoid
private void
boolean
Returns a vertex buffer shared with the users of this vertex format.int
int
hashCode()
static VertexFormat.class_9803
int
method_60835
(VertexFormatElement vertexFormatElement) boolean
method_60836
(VertexFormatElement vertexFormatElement) method_60837
(VertexFormatElement vertexFormatElement) int[]
int
void
Specifies for OpenGL how the vertex data should be interpreted.private void
toString()
-
Field Details
-
field_52099
public static final int field_52099- See Also:
- Mappings:
Namespace Name Mixin selector named field_52099
Lnet/minecraft/client/render/VertexFormat;field_52099:I
intermediary field_52099
Lnet/minecraft/class_293;field_52099:I
official a
Lfbh;a:I
-
elements
- Mappings:
Namespace Name Mixin selector named elements
Lnet/minecraft/client/render/VertexFormat;elements:Ljava/util/List;
intermediary field_1602
Lnet/minecraft/class_293;field_1602:Ljava/util/List;
official b
Lfbh;b:Ljava/util/List;
-
field_52100
- Mappings:
Namespace Name Mixin selector named field_52100
Lnet/minecraft/client/render/VertexFormat;field_52100:Ljava/util/List;
intermediary field_52100
Lnet/minecraft/class_293;field_52100:Ljava/util/List;
official c
Lfbh;c:Ljava/util/List;
-
vertexSizeByte
private final int vertexSizeByte- Mappings:
Namespace Name Mixin selector named vertexSizeByte
Lnet/minecraft/client/render/VertexFormat;vertexSizeByte:I
intermediary field_1600
Lnet/minecraft/class_293;field_1600:I
official d
Lfbh;d:I
-
field_52101
private final int field_52101- Mappings:
Namespace Name Mixin selector named field_52101
Lnet/minecraft/client/render/VertexFormat;field_52101:I
intermediary field_52101
Lnet/minecraft/class_293;field_52101:I
official e
Lfbh;e:I
-
field_52102
private final int[] field_52102- Mappings:
Namespace Name Mixin selector named field_52102
Lnet/minecraft/client/render/VertexFormat;field_52102:[I
intermediary field_52102
Lnet/minecraft/class_293;field_52102:[I
official f
Lfbh;f:[I
-
buffer
- Mappings:
Namespace Name Mixin selector named buffer
Lnet/minecraft/client/render/VertexFormat;buffer:Lnet/minecraft/client/gl/VertexBuffer;
intermediary field_38984
Lnet/minecraft/class_293;field_38984:Lnet/minecraft/class_291;
official g
Lfbh;g:Lfbf;
-
-
Constructor Details
-
VertexFormat
VertexFormat(List<VertexFormatElement> list, List<String> list2, IntList intList, int int2)
-
-
Method Details
-
method_60833
- Mappings:
Namespace Name Mixin selector named method_60833
Lnet/minecraft/client/render/VertexFormat;method_60833()Lnet/minecraft/client/render/VertexFormat$class_9803;
intermediary method_60833
Lnet/minecraft/class_293;method_60833()Lnet/minecraft/class_293$class_9803;
official a
Lfbh;a()Lfbh$a;
-
toString
-
getVertexSizeByte
public int getVertexSizeByte()- Mappings:
Namespace Name Mixin selector named getVertexSizeByte
Lnet/minecraft/client/render/VertexFormat;getVertexSizeByte()I
intermediary method_1362
Lnet/minecraft/class_293;method_1362()I
official b
Lfbh;b()I
-
getElements
- Mappings:
Namespace Name Mixin selector named getElements
Lnet/minecraft/client/render/VertexFormat;getElements()Ljava/util/List;
intermediary method_1357
Lnet/minecraft/class_293;method_1357()Ljava/util/List;
official c
Lfbh;c()Ljava/util/List;
-
getAttributeNames
- Mappings:
Namespace Name Mixin selector named getAttributeNames
Lnet/minecraft/client/render/VertexFormat;getAttributeNames()Ljava/util/List;
intermediary method_34445
Lnet/minecraft/class_293;method_34445()Ljava/util/List;
official d
Lfbh;d()Ljava/util/List;
-
method_60838
public int[] method_60838()- Mappings:
Namespace Name Mixin selector named method_60838
Lnet/minecraft/client/render/VertexFormat;method_60838()[I
intermediary method_60838
Lnet/minecraft/class_293;method_60838()[I
official e
Lfbh;e()[I
-
method_60835
- Mappings:
Namespace Name Mixin selector named method_60835
Lnet/minecraft/client/render/VertexFormat;method_60835(Lnet/minecraft/client/render/VertexFormatElement;)I
intermediary method_60835
Lnet/minecraft/class_293;method_60835(Lnet/minecraft/class_296;)I
official a
Lfbh;a(Lfbi;)I
-
method_60836
- Mappings:
Namespace Name Mixin selector named method_60836
Lnet/minecraft/client/render/VertexFormat;method_60836(Lnet/minecraft/client/render/VertexFormatElement;)Z
intermediary method_60836
Lnet/minecraft/class_293;method_60836(Lnet/minecraft/class_296;)Z
official b
Lfbh;b(Lfbi;)Z
-
method_60839
public int method_60839()- Mappings:
Namespace Name Mixin selector named method_60839
Lnet/minecraft/client/render/VertexFormat;method_60839()I
intermediary method_60839
Lnet/minecraft/class_293;method_60839()I
official f
Lfbh;f()I
-
method_60837
- Mappings:
Namespace Name Mixin selector named method_60837
Lnet/minecraft/client/render/VertexFormat;method_60837(Lnet/minecraft/client/render/VertexFormatElement;)Ljava/lang/String;
intermediary method_60837
Lnet/minecraft/class_293;method_60837(Lnet/minecraft/class_296;)Ljava/lang/String;
official c
Lfbh;c(Lfbi;)Ljava/lang/String;
-
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 setupState
Lnet/minecraft/client/render/VertexFormat;setupState()V
intermediary method_22649
Lnet/minecraft/class_293;method_22649()V
official g
Lfbh;g()V
-
setupStateInternal
private void setupStateInternal()- Mappings:
Namespace Name Mixin selector named setupStateInternal
Lnet/minecraft/client/render/VertexFormat;setupStateInternal()V
intermediary method_34449
Lnet/minecraft/class_293;method_34449()V
official j
Lfbh;j()V
-
clearState
public void clearState()- Mappings:
Namespace Name Mixin selector named clearState
Lnet/minecraft/client/render/VertexFormat;clearState()V
intermediary method_22651
Lnet/minecraft/class_293;method_22651()V
official h
Lfbh;h()V
-
clearStateInternal
private void clearStateInternal()- Mappings:
Namespace Name Mixin selector named clearStateInternal
Lnet/minecraft/client/render/VertexFormat;clearStateInternal()V
intermediary method_34450
Lnet/minecraft/class_293;method_34450()V
official k
Lfbh;k()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 getBuffer
Lnet/minecraft/client/render/VertexFormat;getBuffer()Lnet/minecraft/client/gl/VertexBuffer;
intermediary method_43446
Lnet/minecraft/class_293;method_43446()Lnet/minecraft/class_291;
official i
Lfbh;i()Lfbf;
-