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 p_418138_, Supplier<String> p_418472_, int p_418304_, int p_418442_) createBuffer(DirectStateAccess p_418437_, Supplier<String> p_418106_, int p_418386_, ByteBuffer p_418383_) mapBuffer(DirectStateAccess p_418435_, GlBuffer p_418399_, int p_418357_, int p_418353_, int p_418237_) private ByteBuffertryMapBufferPersistent(DirectStateAccess pDirectStateAccess, int pUsage, int pHandle, int pSize) Methods inherited from class com.mojang.blaze3d.opengl.BufferStorage
create
-
Constructor Details
-
Immutable
Immutable()
-
-
Method Details
-
createBuffer
public GlBuffer createBuffer(DirectStateAccess p_418138_, @Nullable Supplier<String> p_418472_, int p_418304_, int p_418442_) - Specified by:
createBufferin classBufferStorage
-
createBuffer
public GlBuffer createBuffer(DirectStateAccess p_418437_, @Nullable Supplier<String> p_418106_, int p_418386_, ByteBuffer p_418383_) - Specified by:
createBufferin classBufferStorage
-
tryMapBufferPersistent
@Nullable private ByteBuffer tryMapBufferPersistent(DirectStateAccess pDirectStateAccess, int pUsage, int pHandle, int pSize) -
mapBuffer
public GlBuffer.GlMappedView mapBuffer(DirectStateAccess p_418435_, GlBuffer p_418399_, int p_418357_, int p_418353_, int p_418237_) - Specified by:
mapBufferin classBufferStorage
-