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[] color, int[] colorMipLevels, int depth, int depthMipLevel, int bindSlot) abstract voidbindFrameBufferTextures(int fbo, int[] color, int[] colorMipLevels, int depth, int depthMipLevel, int bindSlot, boolean useStencil) voidbindFrameBufferTextures(int fbo, int color, int depth, int mipLevel, int bindSlot) voidbindFrameBufferTextures(int fbo, int color, int depth, int mipLevel, int bindSlot, boolean useStencil) 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) abstract voidbufferData(int buffer, long size, int usage) abstract voidbufferData(int buffer, ByteBuffer data, int usage) abstract voidbufferStorage(int buffer, long size, int usage) abstract voidbufferStorage(int buffer, ByteBuffer data, int usage) abstract voidbufferSubData(int buffer, long offset, ByteBuffer data, int usage) abstract voidcopyBufferSubData(int source, int target, long sourceOffset, long targetOffset, long length) static DirectStateAccesscreate(GLCapabilities capabilities, Set<String> enabledExtensions, GlHeuristics heuristics) abstract intabstract intabstract voidflushMappedBufferRange(int handle, long offset, long length, int usage) abstract @Nullable ByteBuffermapBufferRange(int buffer, long offset, long length, int access, int usage) abstract voidunmapBuffer(int buffer, int usage)
-
Constructor Details
-
DirectStateAccess
public DirectStateAccess()
-
-
Method Details
-
create
public static DirectStateAccess create(GLCapabilities capabilities, Set<String> enabledExtensions, GlHeuristics heuristics) -
createBuffer
public abstract int createBuffer() -
bufferData
public abstract void bufferData(int buffer, long size, int usage) -
bufferData
-
bufferSubData
-
bufferStorage
public abstract void bufferStorage(int buffer, long size, int usage) -
bufferStorage
-
mapBufferRange
public abstract @Nullable ByteBuffer mapBufferRange(int buffer, long offset, long length, int access, int usage) -
unmapBuffer
public abstract void unmapBuffer(int buffer, int usage) -
createFrameBufferObject
public abstract int createFrameBufferObject() -
bindFrameBufferTextures
public abstract void bindFrameBufferTextures(int fbo, int[] color, int[] colorMipLevels, int depth, int depthMipLevel, int bindSlot, boolean useStencil) -
bindFrameBufferTextures
public void bindFrameBufferTextures(int fbo, int[] color, int[] colorMipLevels, int depth, int depthMipLevel, int bindSlot) -
bindFrameBufferTextures
public void bindFrameBufferTextures(int fbo, int color, int depth, int mipLevel, int bindSlot) -
bindFrameBufferTextures
public void bindFrameBufferTextures(int fbo, int color, int depth, int mipLevel, int bindSlot, boolean useStencil) -
blitFrameBuffers
public 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
public abstract void flushMappedBufferRange(int handle, long offset, long length, int usage) -
copyBufferSubData
public abstract void copyBufferSubData(int source, int target, long sourceOffset, long targetOffset, long length)
-