com.mojang.blaze3d.vertex

public class VertexFormat

com.mojang.blaze3d.vertex.VertexFormat
com.mojang.blaze3d.vertex.VertexFormat
com.mojang.blaze3d.vertex.VertexFormat

Field summary

Modifier and TypeField
public static final int
UNKNOWN_ELEMENT
private static final int
VERTEX_ALIGNMENT
private final List<VertexFormatElement>
elements
private final List<String>
names
private final int
vertexSize
private final int
elementsMask
private final int[]
offsetsByElement
private GpuBuffer
immediateDrawVertexBuffer
private GpuBuffer
immediateDrawIndexBuffer

Constructor summary

ModifierConstructor
private (List<VertexFormatElement> elements, List<String> names, it.unimi.dsi.fastutil.ints.IntList offsets, int vertexSize)

Method summary

Modifier and TypeMethod
public static VertexFormat$Builder
builder()
public int
getVertexSize()
public List<VertexFormatElement>
getElements()
public List<String>
getElementAttributeNames()
public int[]
getOffsetsByElement()
public int
getOffset(VertexFormatElement element)
public boolean
contains(VertexFormatElement element)
public int
getElementsMask()
public String
getElementName(VertexFormatElement element)
private static GpuBuffer
uploadToBuffer(GpuBuffer target, ByteBuffer buffer, int usage, Supplier<String> label)
uploadToBuffer(GpuBuffer arg0, ByteBuffer arg1, int arg2, Supplier<String> arg3)
uploadToBuffer(GpuBuffer arg0, ByteBuffer data, int arg2, Supplier<String> labelGetter)
public GpuBuffer
uploadImmediateVertexBuffer(ByteBuffer buffer)
uploadImmediateVertexBuffer(ByteBuffer arg0)
uploadImmediateVertexBuffer(ByteBuffer data)
public GpuBuffer
uploadImmediateIndexBuffer(ByteBuffer buffer)
uploadImmediateIndexBuffer(ByteBuffer arg0)
uploadImmediateIndexBuffer(ByteBuffer data)
private String
lambda$uploadImmediateIndexBuffer$0()
private String
lambda$uploadImmediateVertexBuffer$0()
private static int
lambda$new$0(int arg0, int arg1)
lambda$new$0(int arg0, int arg1)
lambda$new$0(int a, int b)