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 fls
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<VertexFormatElement> static final intprivate final int[]private final intprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionVertexFormat(List<VertexFormatElement> elements, List<String> names, IntList offsets, int vertexSizeByte) -
Method Summary
Modifier and TypeMethodDescriptionstatic VertexFormat.Builderbuilder()booleangetName(VertexFormatElement element) intgetOffset(VertexFormatElement element) int[]intintbooleanhas(VertexFormatElement element) inthashCode()method_68460(ByteBuffer byteBuffer) method_68461(ByteBuffer byteBuffer) toString()
-
Field Details
-
field_52099
public static final int field_52099- See Also:
- Mappings:
Namespace Name Mixin selector named field_52099Lnet/minecraft/client/render/VertexFormat;field_52099:Iintermediary field_52099Lnet/minecraft/class_293;field_52099:Iofficial aLfls;a:I
-
elements
- Mappings:
Namespace Name Mixin selector named elementsLnet/minecraft/client/render/VertexFormat;elements:Ljava/util/List;intermediary field_1602Lnet/minecraft/class_293;field_1602:Ljava/util/List;official bLfls;b:Ljava/util/List;
-
names
- Mappings:
Namespace Name Mixin selector named namesLnet/minecraft/client/render/VertexFormat;names:Ljava/util/List;intermediary field_52100Lnet/minecraft/class_293;field_52100:Ljava/util/List;official cLfls;c:Ljava/util/List;
-
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 dLfls;d:I
-
requiredMask
private final int requiredMask- Mappings:
Namespace Name Mixin selector named requiredMaskLnet/minecraft/client/render/VertexFormat;requiredMask:Iintermediary field_52101Lnet/minecraft/class_293;field_52101:Iofficial eLfls;e:I
-
offsetsByElementId
private final int[] offsetsByElementId- Mappings:
Namespace Name Mixin selector named offsetsByElementIdLnet/minecraft/client/render/VertexFormat;offsetsByElementId:[Iintermediary field_52102Lnet/minecraft/class_293;field_52102:[Iofficial fLfls;f:[I
-
buffer
- Mappings:
Namespace Name Mixin selector named bufferLnet/minecraft/client/render/VertexFormat;buffer:Lnet/minecraft/client/gl/GpuBuffer;intermediary field_38984Lnet/minecraft/class_293;field_38984:Lnet/minecraft/class_10227;official gLfls;g:Lfig;
-
field_57915
- Mappings:
Namespace Name Mixin selector named field_57915Lnet/minecraft/client/render/VertexFormat;field_57915:Lnet/minecraft/client/gl/GpuBuffer;intermediary field_57915Lnet/minecraft/class_293;field_57915:Lnet/minecraft/class_10227;official hLfls;h:Lfig;
-
-
Constructor Details
-
VertexFormat
VertexFormat(List<VertexFormatElement> elements, List<String> names, IntList offsets, int vertexSizeByte) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/VertexFormat;<init>(Ljava/util/List;Ljava/util/List;Lit/unimi/dsi/fastutil/ints/IntList;I)Vintermediary <init>Lnet/minecraft/class_293;<init>(Ljava/util/List;Ljava/util/List;Lit/unimi/dsi/fastutil/ints/IntList;I)Vofficial <init>Lfls;<init>(Ljava/util/List;Ljava/util/List;Lit/unimi/dsi/fastutil/ints/IntList;I)V
-
-
Method Details
-
builder
- Mappings:
Namespace Name Mixin selector named builderLnet/minecraft/client/render/VertexFormat;builder()Lnet/minecraft/client/render/VertexFormat$Builder;intermediary method_60833Lnet/minecraft/class_293;method_60833()Lnet/minecraft/class_293$class_9803;official aLfls;a()Lfls$a;
-
toString
-
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 bLfls;b()I
-
getElements
- Mappings:
Namespace Name Mixin selector named getElementsLnet/minecraft/client/render/VertexFormat;getElements()Ljava/util/List;intermediary method_1357Lnet/minecraft/class_293;method_1357()Ljava/util/List;official cLfls;c()Ljava/util/List;
-
getAttributeNames
- Mappings:
Namespace Name Mixin selector named getAttributeNamesLnet/minecraft/client/render/VertexFormat;getAttributeNames()Ljava/util/List;intermediary method_34445Lnet/minecraft/class_293;method_34445()Ljava/util/List;official dLfls;d()Ljava/util/List;
-
getOffsetsByElementId
public int[] getOffsetsByElementId()- Mappings:
Namespace Name Mixin selector named getOffsetsByElementIdLnet/minecraft/client/render/VertexFormat;getOffsetsByElementId()[Iintermediary method_60838Lnet/minecraft/class_293;method_60838()[Iofficial eLfls;e()[I
-
getOffset
- Mappings:
Namespace Name Mixin selector named getOffsetLnet/minecraft/client/render/VertexFormat;getOffset(Lnet/minecraft/client/render/VertexFormatElement;)Iintermediary method_60835Lnet/minecraft/class_293;method_60835(Lnet/minecraft/class_296;)Iofficial aLfls;a(Lflt;)I
-
has
- Mappings:
Namespace Name Mixin selector named hasLnet/minecraft/client/render/VertexFormat;has(Lnet/minecraft/client/render/VertexFormatElement;)Zintermediary method_60836Lnet/minecraft/class_293;method_60836(Lnet/minecraft/class_296;)Zofficial bLfls;b(Lflt;)Z
-
getRequiredMask
public int getRequiredMask()- Mappings:
Namespace Name Mixin selector named getRequiredMaskLnet/minecraft/client/render/VertexFormat;getRequiredMask()Iintermediary method_60839Lnet/minecraft/class_293;method_60839()Iofficial fLfls;f()I
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/client/render/VertexFormat;getName(Lnet/minecraft/client/render/VertexFormatElement;)Ljava/lang/String;intermediary method_60837Lnet/minecraft/class_293;method_60837(Lnet/minecraft/class_296;)Ljava/lang/String;official cLfls;c(Lflt;)Ljava/lang/String;
-
equals
-
hashCode
public int hashCode() -
method_68460
- Mappings:
Namespace Name Mixin selector named method_68460Lnet/minecraft/client/render/VertexFormat;method_68460(Ljava/nio/ByteBuffer;)Lnet/minecraft/client/gl/GpuBuffer;intermediary method_68460Lnet/minecraft/class_293;method_68460(Ljava/nio/ByteBuffer;)Lnet/minecraft/class_10227;official aLfls;a(Ljava/nio/ByteBuffer;)Lfig;
-
method_68461
- Mappings:
Namespace Name Mixin selector named method_68461Lnet/minecraft/client/render/VertexFormat;method_68461(Ljava/nio/ByteBuffer;)Lnet/minecraft/client/gl/GpuBuffer;intermediary method_68461Lnet/minecraft/class_293;method_68461(Ljava/nio/ByteBuffer;)Lnet/minecraft/class_10227;official bLfls;b(Ljava/nio/ByteBuffer;)Lfig;
-