Class DirectStateAccess.Emulated
java.lang.Object
com.mojang.blaze3d.opengl.DirectStateAccess
com.mojang.blaze3d.opengl.DirectStateAccess.Emulated
- Enclosing class:
DirectStateAccess
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbindFrameBufferTextures(int fbo, int[] color, int[] colorMipLevels, int depth, int depthMipLevel, int bindSlot, boolean useStencil) 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) voidbufferData(int buffer, long size, int usage) voidbufferData(int buffer, ByteBuffer data, int usage) voidbufferStorage(int buffer, long size, int usage) voidbufferStorage(int buffer, ByteBuffer data, int usage) voidbufferSubData(int buffer, long offset, ByteBuffer data, int usage) voidcopyBufferSubData(int source, int target, long sourceOffset, long targetOffset, long length) intintvoidflushMappedBufferRange(int buffer, long offset, long length, int usage) mapBufferRange(int buffer, long offset, long length, int access, int usage) voidunmapBuffer(int buffer, int usage) Methods inherited from class DirectStateAccess
bindFrameBufferTextures, bindFrameBufferTextures, bindFrameBufferTextures, create
-
Constructor Details
-
Emulated
private Emulated()
-
-
Method Details
-
createBuffer
public int createBuffer()- Specified by:
createBufferin classDirectStateAccess
-
bufferData
public void bufferData(int buffer, long size, int usage) - Specified by:
bufferDatain classDirectStateAccess
-
bufferData
- Specified by:
bufferDatain classDirectStateAccess
-
bufferSubData
- Specified by:
bufferSubDatain classDirectStateAccess
-
bufferStorage
public void bufferStorage(int buffer, long size, int usage) - Specified by:
bufferStoragein classDirectStateAccess
-
bufferStorage
- Specified by:
bufferStoragein classDirectStateAccess
-
mapBufferRange
public @Nullable ByteBuffer mapBufferRange(int buffer, long offset, long length, int access, int usage) - Specified by:
mapBufferRangein classDirectStateAccess
-
unmapBuffer
public void unmapBuffer(int buffer, int usage) - Specified by:
unmapBufferin classDirectStateAccess
-
flushMappedBufferRange
public void flushMappedBufferRange(int buffer, long offset, long length, int usage) - Specified by:
flushMappedBufferRangein classDirectStateAccess
-
copyBufferSubData
public void copyBufferSubData(int source, int target, long sourceOffset, long targetOffset, long length) - Specified by:
copyBufferSubDatain classDirectStateAccess
-
createFrameBufferObject
public int createFrameBufferObject()- Specified by:
createFrameBufferObjectin classDirectStateAccess
-
bindFrameBufferTextures
public void bindFrameBufferTextures(int fbo, int[] color, int[] colorMipLevels, int depth, int depthMipLevel, int bindSlot, boolean useStencil) - Specified by:
bindFrameBufferTexturesin classDirectStateAccess
-
blitFrameBuffers
public 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) - Specified by:
blitFrameBuffersin classDirectStateAccess
-