com.mojang.blaze3d.buffers

public interface GpuBuffer

extends AutoCloseable

com.mojang.renderpearl.api.buffers.GpuBuffer
net.minecraft.class_1_1211
com.mojang.blaze3d.buffers.GpuBuffer

Field summary

Modifier and TypeField
int
USAGE_MAP_READ
field_1_8354
USAGE_MAP_READ
int
USAGE_MAP_WRITE
field_1_8355
USAGE_MAP_WRITE
int
USAGE_HINT_CLIENT_STORAGE
field_1_8351
USAGE_HINT_CLIENT_STORAGE
int
USAGE_COPY_DST
field_1_8349
USAGE_COPY_DST
int
USAGE_COPY_SRC
field_1_8350
USAGE_COPY_SRC
int
USAGE_VERTEX
field_1_8358
USAGE_VERTEX
int
USAGE_INDEX
field_1_8352
USAGE_INDEX
int
USAGE_UNIFORM
field_1_8356
USAGE_UNIFORM
int
USAGE_UNIFORM_TEXEL_BUFFER
field_1_8357
USAGE_UNIFORM_TEXEL_BUFFER
int
USAGE_INDIRECT_PARAMETERS
field_1_8353
USAGE_INDIRECT_PARAMETERS

Method summary

Modifier and TypeMethod
long
size()
method_1_7731()
getSize()
int
usage()
method_1_7734()
getUsage()
boolean
isClosed()
method_1_7728()
isClosed()
void
close()
default GpuBufferSlice
slice(long offset, long length)
method_1_7733(long arg0, long arg1)
slice(long start, long length)
default GpuBufferSlice
slice()
method_1_7732()
slice()
default GpuBufferSlice$Mapped
map(boolean read, boolean write)
method_1_7730(boolean arg0, boolean arg1)
map(boolean read, boolean write)
GpuBufferSlice$Mapped
map(long offset, long length, boolean read, boolean write)
method_1_7729(long arg0, long arg1, boolean arg2, boolean arg3)
map(long offset, long size, boolean read, boolean write)