Package com.mojang.blaze3d.vertex
Class VertexFormat
java.lang.Object
com.mojang.blaze3d.vertex.VertexFormat
- Mappings:
Namespace Name named com/mojang/blaze3d/vertex/VertexFormat
intermediary com/mojang/blaze3d/vertex/VertexFormat
official com/mojang/blaze3d/vertex/VertexFormat
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List
<VertexFormatElement> private final int
private final int[]
static final int
private final int
-
Constructor Summary
ConstructorsConstructorDescriptionVertexFormat
(List<VertexFormatElement> elements, List<String> names, IntList offsets, int vertexSize) -
Method Summary
Modifier and TypeMethodDescriptionstatic VertexFormat.Builder
builder()
boolean
contains
(VertexFormatElement element) boolean
getElementName
(VertexFormatElement element) int
int
getOffset
(VertexFormatElement element) int[]
int
int
hashCode()
toString()
uploadImmediateIndexBuffer
(ByteBuffer indexBuffer) uploadImmediateVertexBuffer
(ByteBuffer vertexBuffer)
-
Field Details
-
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)V
intermediary <init>
Lcom/mojang/blaze3d/vertex/VertexFormat;<init>(Ljava/util/List;Ljava/util/List;Lit/unimi/dsi/fastutil/ints/IntList;I)V
official <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 getOffset
Lcom/mojang/blaze3d/vertex/VertexFormat;getOffset(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)I
intermediary getOffset
Lcom/mojang/blaze3d/vertex/VertexFormat;getOffset(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)I
official getOffset
Lcom/mojang/blaze3d/vertex/VertexFormat;getOffset(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)I
-
contains
- Mappings:
Namespace Name Mixin selector named contains
Lcom/mojang/blaze3d/vertex/VertexFormat;contains(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)Z
intermediary contains
Lcom/mojang/blaze3d/vertex/VertexFormat;contains(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)Z
official contains
Lcom/mojang/blaze3d/vertex/VertexFormat;contains(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)Z
-
getElementsMask
public int getElementsMask() -
getElementName
- Mappings:
Namespace Name Mixin selector named getElementName
Lcom/mojang/blaze3d/vertex/VertexFormat;getElementName(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)Ljava/lang/String;
intermediary getElementName
Lcom/mojang/blaze3d/vertex/VertexFormat;getElementName(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)Ljava/lang/String;
official getElementName
Lcom/mojang/blaze3d/vertex/VertexFormat;getElementName(Lcom/mojang/blaze3d/vertex/VertexFormatElement;)Ljava/lang/String;
-
equals
- Overrides:
equals
in classObject
- Mappings:
Namespace Name Mixin selector named equals
Lcom/mojang/blaze3d/vertex/VertexFormat;equals(Ljava/lang/Object;)Z
intermediary equals
Lcom/mojang/blaze3d/vertex/VertexFormat;equals(Ljava/lang/Object;)Z
official equals
Lcom/mojang/blaze3d/vertex/VertexFormat;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode() -
uploadImmediateVertexBuffer
- Mappings:
Namespace Name Mixin selector named uploadImmediateVertexBuffer
Lcom/mojang/blaze3d/vertex/VertexFormat;uploadImmediateVertexBuffer(Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;
intermediary uploadImmediateVertexBuffer
Lcom/mojang/blaze3d/vertex/VertexFormat;uploadImmediateVertexBuffer(Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;
official uploadImmediateVertexBuffer
Lcom/mojang/blaze3d/vertex/VertexFormat;uploadImmediateVertexBuffer(Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;
-
uploadImmediateIndexBuffer
- Mappings:
Namespace Name Mixin selector named uploadImmediateIndexBuffer
Lcom/mojang/blaze3d/vertex/VertexFormat;uploadImmediateIndexBuffer(Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;
intermediary uploadImmediateIndexBuffer
Lcom/mojang/blaze3d/vertex/VertexFormat;uploadImmediateIndexBuffer(Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;
official uploadImmediateIndexBuffer
Lcom/mojang/blaze3d/vertex/VertexFormat;uploadImmediateIndexBuffer(Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;
-