类 GpuBuffer
java.lang.Object
com.mojang.blaze3d.buffers.GpuBuffer
- 所有已实现的接口:
AutoCloseable
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private boolean
final int
private boolean
private static final com.mojang.jtracy.MemoryPool
int
private final BufferType
private final BufferUsage
-
构造器概要
构造器构造器说明GpuBuffer
(BufferType p_367350_, BufferUsage p_363902_, int p_361832_) GpuBuffer
(BufferType p_367048_, BufferUsage p_369969_, ByteBuffer p_364811_) -
方法概要
-
字段详细资料
-
MEMORY_POOl
private static final com.mojang.jtracy.MemoryPool MEMORY_POOl -
type
-
usage
-
closed
private boolean closed -
initialized
private boolean initialized -
handle
public final int handle -
size
public int size
-
-
构造器详细资料
-
GpuBuffer
-
GpuBuffer
-
-
方法详细资料
-
resize
public void resize(int p_367249_) -
write
-
read
-
read
-
close
public void close()- 指定者:
close
在接口中AutoCloseable
-
bind
public void bind()
-