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