Class BufferStorage.Mutable
java.lang.Object
com.mojang.blaze3d.opengl.BufferStorage
com.mojang.blaze3d.opengl.BufferStorage.Mutable
- Enclosing class:
BufferStorage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBuffer(DirectStateAccess dsa, @Nullable Supplier<String> label, int usage, long size) createBuffer(DirectStateAccess dsa, @Nullable Supplier<String> label, int usage, ByteBuffer data) mapBuffer(DirectStateAccess dsa, GlBuffer buffer, long offset, long length, int flags) Methods inherited from class BufferStorage
create
-
Constructor Details
-
Mutable
private Mutable()
-
-
Method Details
-
createBuffer
public GlBuffer createBuffer(DirectStateAccess dsa, @Nullable Supplier<String> label, int usage, long size) - Specified by:
createBufferin classBufferStorage
-
createBuffer
public GlBuffer createBuffer(DirectStateAccess dsa, @Nullable Supplier<String> label, int usage, ByteBuffer data) - Specified by:
createBufferin classBufferStorage
-
mapBuffer
public GlBuffer.GlMappedView mapBuffer(DirectStateAccess dsa, GlBuffer buffer, long offset, long length, int flags) - Specified by:
mapBufferin classBufferStorage
-