Package com.mojang.blaze3d.vertex
Class VertexFormat
java.lang.Object
com.mojang.blaze3d.vertex.VertexFormat
- Mappings:
Namespace Name named com/mojang/blaze3d/vertex/VertexFormatintermediary com/mojang/blaze3d/vertex/VertexFormatofficial com/mojang/blaze3d/vertex/VertexFormat
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<VertexFormatElement> private final intprivate final int[]static final intprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionVertexFormat(List<VertexFormatElement> elements, List<String> names, IntList offsets, int vertexSize) -
Method Summary
Modifier and TypeMethodDescriptionstatic VertexFormat.Builderbuilder()booleancontains(VertexFormatElement element) booleangetElementName(VertexFormatElement element) intintgetOffset(VertexFormatElement element) int[]intinthashCode()toString()uploadImmediateIndexBuffer(ByteBuffer indexBuffer) uploadImmediateVertexBuffer(ByteBuffer vertexBuffer)
-
Field Details
-
UNKNOWN_ELEMENT
public static final int UNKNOWN_ELEMENT- See Also:
-
elements
-
names
-
vertexSize
private final int vertexSize -
elementsMask
private final int elementsMask -
offsetsByElement
private final int[] offsetsByElement -
immediateDrawVertexBuffer
-
immediateDrawIndexBuffer
-
-
Constructor Details
-
VertexFormat
VertexFormat(List<VertexFormatElement> elements, List<String> names, IntList offsets, int vertexSize) - Mappings:
Namespace Name Mixin selector named <init>Lcom/mojang/blaze3d/vertex/VertexFormat;<init>(Ljava/util/List;Ljava/util/List;Lit/unimi/dsi/fastutil/ints/IntList;I)Vintermediary <init>Lcom/mojang/blaze3d/vertex/VertexFormat;<init>(Ljava/util/List;Ljava/util/List;Lit/unimi/dsi/fastutil/ints/IntList;I)Vofficial <init>Lcom/mojang/blaze3d/vertex/VertexFormat;<init>(Ljava/util/List;Ljava/util/List;Lit/unimi/dsi/fastutil/ints/IntList;I)V
-
-
Method Details
-
builder
-
toString
-
getVertexSize
public int getVertexSize() -
getElements
-
getElementAttributeNames
-
getOffsetsByElement
public int[] getOffsetsByElement() -
getOffset
- Mappings:
Namespace Name Mixin selector named getOffsetLcom/mojang/blaze3d/vertex/VertexFormat;getOffset(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)Iintermediary getOffsetLcom/mojang/blaze3d/vertex/VertexFormat;getOffset(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)Iofficial getOffsetLcom/mojang/blaze3d/vertex/VertexFormat;getOffset(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)I
-
contains
- Mappings:
Namespace Name Mixin selector named containsLcom/mojang/blaze3d/vertex/VertexFormat;contains(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)Zintermediary containsLcom/mojang/blaze3d/vertex/VertexFormat;contains(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)Zofficial containsLcom/mojang/blaze3d/vertex/VertexFormat;contains(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)Z
-
getElementsMask
public int getElementsMask() -
getElementName
- Mappings:
Namespace Name Mixin selector named getElementNameLcom/mojang/blaze3d/vertex/VertexFormat;getElementName(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)Ljava/lang/String;intermediary getElementNameLcom/mojang/blaze3d/vertex/VertexFormat;getElementName(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)Ljava/lang/String;official getElementNameLcom/mojang/blaze3d/vertex/VertexFormat;getElementName(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)Ljava/lang/String;
-
equals
- Overrides:
equalsin classObject- Mappings:
Namespace Name Mixin selector named equalsLcom/mojang/blaze3d/vertex/VertexFormat;equals(Ljava/lang/Object;)Zintermediary equalsLcom/mojang/blaze3d/vertex/VertexFormat;equals(Ljava/lang/Object;)Zofficial equalsLcom/mojang/blaze3d/vertex/VertexFormat;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode() -
uploadImmediateVertexBuffer
- Mappings:
Namespace Name Mixin selector named uploadImmediateVertexBufferLcom/mojang/blaze3d/vertex/VertexFormat;uploadImmediateVertexBuffer(Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;intermediary uploadImmediateVertexBufferLcom/mojang/blaze3d/vertex/VertexFormat;uploadImmediateVertexBuffer(Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;official uploadImmediateVertexBufferLcom/mojang/blaze3d/vertex/VertexFormat;uploadImmediateVertexBuffer(Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;
-
uploadImmediateIndexBuffer
- Mappings:
Namespace Name Mixin selector named uploadImmediateIndexBufferLcom/mojang/blaze3d/vertex/VertexFormat;uploadImmediateIndexBuffer(Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;intermediary uploadImmediateIndexBufferLcom/mojang/blaze3d/vertex/VertexFormat;uploadImmediateIndexBuffer(Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;official uploadImmediateIndexBufferLcom/mojang/blaze3d/vertex/VertexFormat;uploadImmediateIndexBuffer(Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;
-