Class DirectStateAccess
java.lang.Object
com.mojang.blaze3d.opengl.DirectStateAccess
- Direct Known Subclasses:
DirectStateAccess.Core, DirectStateAccess.Emulated
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbindFrameBufferTextures(int fbo, int color0, int depth, int mipLevel, int bindSlot) (package private) abstract voidbindFrameBufferTextures(int fbo, int color0, int depth, int mipLevel, int bindSlot, boolean useStencil) (package private) abstract voidblitFrameBuffers(int source, int dest, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) (package private) abstract voidbufferData(int buffer, long size, int usage) (package private) abstract voidbufferData(int buffer, ByteBuffer data, int usage) (package private) abstract voidbufferStorage(int buffer, long size, int usage) (package private) abstract voidbufferStorage(int buffer, ByteBuffer data, int usage) (package private) abstract voidbufferSubData(int buffer, long offset, ByteBuffer data, int usage) (package private) abstract voidcopyBufferSubData(int source, int target, long sourceOffset, long targetOffset, long length) static DirectStateAccesscreate(org.lwjgl.opengl.GLCapabilities capabilities, Set<String> enabledExtensions, GraphicsWorkarounds workarounds) (package private) abstract int(package private) abstract int(package private) abstract voidflushMappedBufferRange(int handle, long offset, long length, int usage) (package private) abstract @Nullable ByteBuffermapBufferRange(int buffer, long offset, long length, int access, int usage) (package private) abstract voidunmapBuffer(int buffer, int usage)
-
Constructor Details
-
DirectStateAccess
public DirectStateAccess()
-
-
Method Details
-
create
public static DirectStateAccess create(org.lwjgl.opengl.GLCapabilities capabilities, Set<String> enabledExtensions, GraphicsWorkarounds workarounds) -
createBuffer
abstract int createBuffer() -
bufferData
abstract void bufferData(int buffer, long size, int usage) -
bufferData
-
bufferSubData
-
bufferStorage
abstract void bufferStorage(int buffer, long size, int usage) -
bufferStorage
-
mapBufferRange
abstract @Nullable ByteBuffer mapBufferRange(int buffer, long offset, long length, int access, int usage) -
unmapBuffer
abstract void unmapBuffer(int buffer, int usage) -
createFrameBufferObject
abstract int createFrameBufferObject() -
bindFrameBufferTextures
abstract void bindFrameBufferTextures(int fbo, int color0, int depth, int mipLevel, int bindSlot, boolean useStencil) -
bindFrameBufferTextures
public void bindFrameBufferTextures(int fbo, int color0, int depth, int mipLevel, int bindSlot) -
blitFrameBuffers
abstract void blitFrameBuffers(int source, int dest, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) -
flushMappedBufferRange
abstract void flushMappedBufferRange(int handle, long offset, long length, int usage) -
copyBufferSubData
abstract void copyBufferSubData(int source, int target, long sourceOffset, long targetOffset, long length)
-