Class DirectStateAccess

java.lang.Object
com.mojang.blaze3d.opengl.DirectStateAccess
Direct Known Subclasses:
DirectStateAccess.Core, DirectStateAccess.Emulated

public abstract class DirectStateAccess extends Object
  • 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

      public abstract void bufferData(int buffer, ByteBuffer data, int usage)
    • bufferSubData

      public abstract void bufferSubData(int buffer, long offset, ByteBuffer data, int usage)
    • bufferStorage

      public abstract void bufferStorage(int buffer, long size, int usage)
    • bufferStorage

      public abstract void bufferStorage(int buffer, ByteBuffer data, int usage)
    • 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)