APIdia Launch Partner
Top Description Inners Fields Constructors Methods
com.badlogic.gdx.graphics.glutils

public abstract Class GLFrameBuffer<T extends GLTexture>

extends Object
implements Disposable
Class Inheritance
All Implemented Interfaces
com.badlogic.gdx.utils.Disposable
Known Direct Subclasses
com.badlogic.gdx.graphics.glutils.FrameBuffer, com.badlogic.gdx.graphics.glutils.FrameBufferCubemap
Imports
java.nio.Buffer, .ByteBuffer, .ByteOrder, .IntBuffer, java.util.HashMap, .Map, com.badlogic.gdx.Application, .Application.ApplicationType, .Gdx, com.badlogic.gdx.graphics.GL20, .GL30, .GLTexture, .Pixmap, com.badlogic.gdx.utils.Array, .BufferUtils, .Disposable, .GdxRuntimeException, .IntArray

Encapsulates OpenGL ES 2.0 frame buffer objects. This is a simple helper class which should cover most FBO uses. It will automatically create a gltexture for the color attachment and a renderbuffer for the depth buffer. You can get a hold of the gltexture by GLFrameBuffer#getColorBufferTexture(). This class will only work with OpenGL ES 2.0.

FrameBuffers are managed. In case of an OpenGL context loss, which only happens on Android when a user switches to another application or receives an incoming call, the framebuffer will be automatically recreated.

A FrameBuffer must be disposed if it is no longer needed

Author
mzechner, realitix

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class
protected static class
protected static class
public abstract static class

Field Summary

Modifier and TypeField and Description
protected GLFrameBuffer.GLFrameBufferBuilder<? extends GLFrameBuffer<T>>
protected static final Map<Application, Array<GLFrameBuffer<T extends GLTexture>>>
buffers

the frame buffers

protected final IntArray
colorBufferHandles

the colorbuffer render object handles

private IntBuffer
protected static int
defaultFramebufferHandle

the default framebuffer handle, a.k.a screen.

protected static boolean
defaultFramebufferHandleInitialized

true if we have polled for the default handle already.

protected int
depthbufferHandle

the depthbuffer render object handle

protected int
depthStencilPackedBufferHandle

the depth stencil packed render buffer object handle

private IntBuffer
protected int
framebufferHandle

the framebuffer handle

protected static final int
protected boolean
hasDepthStencilPackedBuffer

if has depth stencil packed buffer

protected boolean
isMRT

if multiple texture attachments are present

protected int
stencilbufferHandle

the stencilbuffer render object handle

protected Array<T>
textureAttachments

the color buffer texture

Constructor Summary

AccessConstructor and Description
pack-priv
protected
GLFrameBuffer(GLFrameBuffer.GLFrameBufferBuilder<? extends GLFrameBuffer<T>> bufferBuilder)

Creates a GLFrameBuffer from the specifications provided by bufferBuilder

Method Summary

Modifier and TypeMethod and Description
private static void
protected abstract void
attachFrameBufferColorTexture(T texture)

Override this method in a derived class to attach the backing texture to the GL framebuffer object.

public void
begin()

Binds the frame buffer and sets the viewport accordingly, so everything gets drawn to it.

public void
bind()

Makes the frame buffer current so everything gets drawn to it.

protected void
private void
public static void
protected abstract T
createTexture(GLFrameBuffer.FrameBufferTextureAttachmentSpec attachmentSpec)

Override this method in a derived class to set up the backing texture as you like.

public void
dispose()

Implements com.badlogic.gdx.utils.Disposable.dispose.

Releases all resources associated with the FrameBuffer.

protected abstract void
disposeColorTexture(T colorTexture)

Override this method in a derived class to dispose the backing texture as you like.

public void
end()

Unbinds the framebuffer, all drawing will be performed to the normal framebuffer from here on.

public void
end(int
the x-axis position of the viewport in pixels
x
,
int
the y-asis position of the viewport in pixels
y
,
int
the width of the viewport in pixels
width
,
int
the height of the viewport in pixels
height
)

Unbinds the framebuffer and sets viewport sizes, all drawing will be performed to the normal framebuffer from here on.

public int
getColorBufferHandle(int
index of the color buffer as added to the frame buffer builder.
n
)

Returns: The OpenGL handle of a color buffer (see GL20#glGenRenderbuffer()).

public T
getColorBufferTexture()

Convenience method to return the first Texture attachment present in the fbo

public int
getDepthBufferHandle()

Returns: The OpenGL handle of the (optional) depth buffer (see GL20#glGenRenderbuffer()).

protected int
getDepthStencilPackedBuffer()

Returns: The OpenGL handle of the packed depth & stencil buffer (GL_DEPTH24_STENCIL8_OES) or 0 if not used.

public int
getFramebufferHandle()

Returns: The OpenGL handle of the framebuffer (see GL20#glGenFramebuffer())

public int
getHeight()

Returns: the height of the framebuffer in pixels

public static StringBuilder
public static String
public int
getStencilBufferHandle()

Returns: The OpenGL handle of the (optional) stencil buffer (see GL20#glGenRenderbuffer()).

public Array<T>
getTextureAttachments()

Return the Texture attachments attached to the fbo

public int
getWidth()

Returns: the width of the framebuffer in pixels

public static void
invalidateAllFrameBuffers(Application app)

Invalidates all frame buffers.

protected void
setFrameBufferViewport()

Sets viewport to the dimensions of framebuffer.

public void
transfer(GLFrameBuffer<T>
the destination of the copy.
destination
)

Transfer pixels from this frame buffer to the destination frame buffer.

public void
transfer(GLFrameBuffer<T>
the destination of the copy (should be same size as this frame buffer).
destination
,
int
combination of GL20.GL_COLOR_BUFFER_BIT, GL20.GL_STENCIL_BUFFER_BIT, and GL20.GL_DEPTH_BUFFER_BIT. When GL20.GL_COLOR_BUFFER_BIT is present, every color buffers will be copied to each corresponding color texture buffers in the destination framebuffer.
copyBits
)

Transfer pixels from this frame buffer to the destination frame buffer.

public static void
unbind()

Unbinds the framebuffer, all drawing will be performed to the normal framebuffer from here on.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bufferBuilderback to summary
protected GLFrameBuffer.GLFrameBufferBuilder<? extends GLFrameBuffer<T>> bufferBuilder
buffersback to summary
protected static final Map<Application, Array<GLFrameBuffer<T extends GLTexture>>> buffers

the frame buffers

colorBufferHandlesback to summary
protected final IntArray colorBufferHandles

the colorbuffer render object handles

defaultDrawBuffersback to summary
private IntBuffer defaultDrawBuffers
defaultFramebufferHandleback to summary
protected static int defaultFramebufferHandle

the default framebuffer handle, a.k.a screen.

defaultFramebufferHandleInitializedback to summary
protected static boolean defaultFramebufferHandleInitialized

true if we have polled for the default handle already.

depthbufferHandleback to summary
protected int depthbufferHandle

the depthbuffer render object handle

depthStencilPackedBufferHandleback to summary
protected int depthStencilPackedBufferHandle

the depth stencil packed render buffer object handle

drawBuffersForTransferback to summary
private IntBuffer drawBuffersForTransfer
framebufferHandleback to summary
protected int framebufferHandle

the framebuffer handle

GL_DEPTH24_STENCIL8_OESback to summary
protected static final int GL_DEPTH24_STENCIL8_OES
hasDepthStencilPackedBufferback to summary
protected boolean hasDepthStencilPackedBuffer

if has depth stencil packed buffer

isMRTback to summary
protected boolean isMRT

if multiple texture attachments are present

stencilbufferHandleback to summary
protected int stencilbufferHandle

the stencilbuffer render object handle

textureAttachmentsback to summary
protected Array<T> textureAttachments

the color buffer texture

Constructor Detail

GLFrameBufferback to summary
pack-priv GLFrameBuffer()
GLFrameBufferback to summary
protected GLFrameBuffer(GLFrameBuffer.GLFrameBufferBuilder<? extends GLFrameBuffer<T>> bufferBuilder)

Creates a GLFrameBuffer from the specifications provided by bufferBuilder

Method Detail

addManagedFrameBufferback to summary
private static void addManagedFrameBuffer(Application app, GLFrameBuffer<T extends GLTexture> frameBuffer)
attachFrameBufferColorTextureback to summary
protected abstract void attachFrameBufferColorTexture(T texture)

Override this method in a derived class to attach the backing texture to the GL framebuffer object.

beginback to summary
public void begin()

Binds the frame buffer and sets the viewport accordingly, so everything gets drawn to it.

bindback to summary
public void bind()

Makes the frame buffer current so everything gets drawn to it.

buildback to summary
protected void build()
checkValidBuilderback to summary
private void checkValidBuilder()
clearAllFrameBuffersback to summary
public static void clearAllFrameBuffers(Application app)
createTextureback to summary
protected abstract T createTexture(GLFrameBuffer.FrameBufferTextureAttachmentSpec attachmentSpec)

Override this method in a derived class to set up the backing texture as you like.

disposeback to summary
public void dispose()

Implements com.badlogic.gdx.utils.Disposable.dispose.

Releases all resources associated with the FrameBuffer.

Annotations
@Override
disposeColorTextureback to summary
protected abstract void disposeColorTexture(T colorTexture)

Override this method in a derived class to dispose the backing texture as you like.

endback to summary
public void end()

Unbinds the framebuffer, all drawing will be performed to the normal framebuffer from here on.

endback to summary
public void end(int x, int y, int width, int height)

Unbinds the framebuffer and sets viewport sizes, all drawing will be performed to the normal framebuffer from here on.

Parameters
x:int

the x-axis position of the viewport in pixels

y:int

the y-asis position of the viewport in pixels

width:int

the width of the viewport in pixels

height:int

the height of the viewport in pixels

getColorBufferHandleback to summary
public int getColorBufferHandle(int n)
Parameters
n:int

index of the color buffer as added to the frame buffer builder.

Returns:int

The OpenGL handle of a color buffer (see GL20#glGenRenderbuffer()).

getColorBufferTextureback to summary
public T getColorBufferTexture()

Convenience method to return the first Texture attachment present in the fbo

getDepthBufferHandleback to summary
public int getDepthBufferHandle()
Returns:int

The OpenGL handle of the (optional) depth buffer (see GL20#glGenRenderbuffer()). May return 0 even if depth buffer enabled

getDepthStencilPackedBufferback to summary
protected int getDepthStencilPackedBuffer()
Returns:int

The OpenGL handle of the packed depth & stencil buffer (GL_DEPTH24_STENCIL8_OES) or 0 if not used.

getFramebufferHandleback to summary
public int getFramebufferHandle()
Returns:int

The OpenGL handle of the framebuffer (see GL20#glGenFramebuffer())

getHeightback to summary
public int getHeight()
Returns:int

the height of the framebuffer in pixels

getManagedStatusback to summary
public static StringBuilder getManagedStatus(final StringBuilder builder)
getManagedStatusback to summary
public static String getManagedStatus()
getStencilBufferHandleback to summary
public int getStencilBufferHandle()
Returns:int

The OpenGL handle of the (optional) stencil buffer (see GL20#glGenRenderbuffer()). May return 0 even if stencil buffer enabled

getTextureAttachmentsback to summary
public Array<T> getTextureAttachments()

Return the Texture attachments attached to the fbo

getWidthback to summary
public int getWidth()
Returns:int

the width of the framebuffer in pixels

invalidateAllFrameBuffersback to summary
public static void invalidateAllFrameBuffers(Application app)

Invalidates all frame buffers. This can be used when the OpenGL context is lost to rebuild all managed frame buffers. This assumes that the texture attached to this buffer has already been rebuild! Use with care.

setFrameBufferViewportback to summary
protected void setFrameBufferViewport()

Sets viewport to the dimensions of framebuffer. Called by begin().

transferback to summary
public void transfer(GLFrameBuffer<T> destination)

Transfer pixels from this frame buffer to the destination frame buffer. Usually used when using multisample, it resolves samples from this multisample FBO to a non-multisample as destination in order to be used as textures. This is a convenient method that automatically choose which of stencil, depth, and colors buffers attachment to be copied.

Parameters
destination:GLFrameBuffer<T>

the destination of the copy.

transferback to summary
public void transfer(GLFrameBuffer<T> destination, int copyBits)

Transfer pixels from this frame buffer to the destination frame buffer. Usually used when using multisample, it resolves samples from this multisample FBO to a non-multisample as destination in order to be used as textures.

Parameters
destination:GLFrameBuffer<T>

the destination of the copy (should be same size as this frame buffer).

copyBits:int

combination of GL20.GL_COLOR_BUFFER_BIT, GL20.GL_STENCIL_BUFFER_BIT, and GL20.GL_DEPTH_BUFFER_BIT. When GL20.GL_COLOR_BUFFER_BIT is present, every color buffers will be copied to each corresponding color texture buffers in the destination framebuffer.

unbindback to summary
public static void unbind()

Unbinds the framebuffer, all drawing will be performed to the normal framebuffer from here on.

com.badlogic.gdx.graphics.glutils back to summary

public Class GLFrameBuffer.FloatFrameBufferBuilder

extends GLFrameBuffer.GLFrameBufferBuilder<FloatFrameBuffer>
Class Inheritance

Field Summary

Inherited from com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder:
colorRenderBufferSpecsdepthRenderBufferSpechasDepthRenderBufferhasPackedStencilDepthRenderBufferhasStencilRenderBufferheightpackedStencilDepthRenderBufferSpecsamplesstencilRenderBufferSpectextureAttachmentSpecswidth

Constructor Summary

AccessConstructor and Description
public
FloatFrameBufferBuilder(int width, int height)

public
FloatFrameBufferBuilder(int width, int height, int samples)

Method Summary

Modifier and TypeMethod and Description
public FloatFrameBuffer
Inherited from com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder:
addBasicColorTextureAttachmentaddBasicDepthRenderBufferaddBasicStencilDepthPackedRenderBufferaddBasicStencilRenderBufferaddColorRenderBufferaddColorTextureAttachmentaddDepthRenderBufferaddDepthTextureAttachmentaddFloatAttachmentaddStencilDepthPackedRenderBufferaddStencilRenderBufferaddStencilTextureAttachment

Constructor Detail

FloatFrameBufferBuilderback to summary
public FloatFrameBufferBuilder(int width, int height)
FloatFrameBufferBuilderback to summary
public FloatFrameBufferBuilder(int width, int height, int samples)

Method Detail

buildback to summary
public FloatFrameBuffer build()

Implements abstract com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder.build.

Annotations
@Override
com.badlogic.gdx.graphics.glutils back to summary

public Class GLFrameBuffer.FrameBufferBuilder

extends GLFrameBuffer.GLFrameBufferBuilder<FrameBuffer>
Class Inheritance

Field Summary

Inherited from com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder:
colorRenderBufferSpecsdepthRenderBufferSpechasDepthRenderBufferhasPackedStencilDepthRenderBufferhasStencilRenderBufferheightpackedStencilDepthRenderBufferSpecsamplesstencilRenderBufferSpectextureAttachmentSpecswidth

Constructor Summary

AccessConstructor and Description
public
FrameBufferBuilder(int width, int height)

public
FrameBufferBuilder(int width, int height, int samples)

Method Summary

Modifier and TypeMethod and Description
public FrameBuffer
Inherited from com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder:
addBasicColorTextureAttachmentaddBasicDepthRenderBufferaddBasicStencilDepthPackedRenderBufferaddBasicStencilRenderBufferaddColorRenderBufferaddColorTextureAttachmentaddDepthRenderBufferaddDepthTextureAttachmentaddFloatAttachmentaddStencilDepthPackedRenderBufferaddStencilRenderBufferaddStencilTextureAttachment

Constructor Detail

FrameBufferBuilderback to summary
public FrameBufferBuilder(int width, int height)
FrameBufferBuilderback to summary
public FrameBufferBuilder(int width, int height, int samples)

Method Detail

buildback to summary
public FrameBuffer build()

Implements abstract com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder.build.

Annotations
@Override
com.badlogic.gdx.graphics.glutils back to summary

public Class GLFrameBuffer.FrameBufferCubemapBuilder

extends GLFrameBuffer.GLFrameBufferBuilder<FrameBufferCubemap>
Class Inheritance

Field Summary

Inherited from com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder:
colorRenderBufferSpecsdepthRenderBufferSpechasDepthRenderBufferhasPackedStencilDepthRenderBufferhasStencilRenderBufferheightpackedStencilDepthRenderBufferSpecsamplesstencilRenderBufferSpectextureAttachmentSpecswidth

Constructor Summary

AccessConstructor and Description
public
FrameBufferCubemapBuilder(int width, int height)

public
FrameBufferCubemapBuilder(int width, int height, int samples)

Method Summary

Modifier and TypeMethod and Description
public FrameBufferCubemap
Inherited from com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder:
addBasicColorTextureAttachmentaddBasicDepthRenderBufferaddBasicStencilDepthPackedRenderBufferaddBasicStencilRenderBufferaddColorRenderBufferaddColorTextureAttachmentaddDepthRenderBufferaddDepthTextureAttachmentaddFloatAttachmentaddStencilDepthPackedRenderBufferaddStencilRenderBufferaddStencilTextureAttachment

Constructor Detail

FrameBufferCubemapBuilderback to summary
public FrameBufferCubemapBuilder(int width, int height)
FrameBufferCubemapBuilderback to summary
public FrameBufferCubemapBuilder(int width, int height, int samples)

Method Detail

buildback to summary
public FrameBufferCubemap build()

Implements abstract com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder.build.

Annotations
@Override
com.badlogic.gdx.graphics.glutils back to summary

protected Class GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec

extends Object
Class Inheritance
  • java.lang.Object
  • com.badlogic.gdx.graphics.glutils.GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec

Field Summary

Modifier and TypeField and Description
public int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

internalFormatback to summary
public int internalFormat

Constructor Detail

FrameBufferRenderBufferAttachmentSpecback to summary
public FrameBufferRenderBufferAttachmentSpec(int internalFormat)
com.badlogic.gdx.graphics.glutils back to summary

protected Class GLFrameBuffer.FrameBufferTextureAttachmentSpec

extends Object
Class Inheritance
  • java.lang.Object
  • com.badlogic.gdx.graphics.glutils.GLFrameBuffer.FrameBufferTextureAttachmentSpec

Field Summary

Modifier and TypeField and Description
public int
public int
public boolean
public boolean
public boolean
public boolean
public int

Constructor Summary

AccessConstructor and Description
public
FrameBufferTextureAttachmentSpec(int internalformat, int format, int type)

Method Summary

Modifier and TypeMethod and Description
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

formatback to summary
public int format
internalFormatback to summary
public int internalFormat
isDepthback to summary
public boolean isDepth
isFloatback to summary
public boolean isFloat
isGpuOnlyback to summary
public boolean isGpuOnly
isStencilback to summary
public boolean isStencil
typeback to summary
public int type

Constructor Detail

FrameBufferTextureAttachmentSpecback to summary
public FrameBufferTextureAttachmentSpec(int internalformat, int format, int type)

Method Detail

isColorTextureback to summary
public boolean isColorTexture()
com.badlogic.gdx.graphics.glutils back to summary

public abstract Class GLFrameBuffer.GLFrameBufferBuilder<U extends GLFrameBuffer<? extends GLTexture>>

extends Object
Class Inheritance
  • java.lang.Object
  • com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder
Known Direct Subclasses
com.badlogic.gdx.graphics.glutils.GLFrameBuffer.FrameBufferBuilder, com.badlogic.gdx.graphics.glutils.GLFrameBuffer.FloatFrameBufferBuilder, com.badlogic.gdx.graphics.glutils.GLFrameBuffer.FrameBufferCubemapBuilder

Field Summary

Modifier and TypeField and Description
public Array<GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec>
public GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec
public boolean
public boolean
public boolean
public int
public GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec
public int
public GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec
public Array<GLFrameBuffer.FrameBufferTextureAttachmentSpec>
public int

Constructor Summary

AccessConstructor and Description
public
GLFrameBufferBuilder(int width, int height)

public
GLFrameBufferBuilder(int width, int height, int samples)

Method Summary

Modifier and TypeMethod and Description
public GLFrameBuffer.GLFrameBufferBuilder<U>
public GLFrameBuffer.GLFrameBufferBuilder<U>
public GLFrameBuffer.GLFrameBufferBuilder<U>
public GLFrameBuffer.GLFrameBufferBuilder<U>
public GLFrameBuffer.GLFrameBufferBuilder<U>
addColorRenderBuffer(int internalFormat)

public GLFrameBuffer.GLFrameBufferBuilder<U>
addColorTextureAttachment(int internalFormat, int format, int type)

public GLFrameBuffer.GLFrameBufferBuilder<U>
addDepthRenderBuffer(int internalFormat)

public GLFrameBuffer.GLFrameBufferBuilder<U>
addDepthTextureAttachment(int internalFormat, int type)

public GLFrameBuffer.GLFrameBufferBuilder<U>
addFloatAttachment(int internalFormat, int format, int type, boolean gpuOnly)

public GLFrameBuffer.GLFrameBufferBuilder<U>
public GLFrameBuffer.GLFrameBufferBuilder<U>
addStencilRenderBuffer(int internalFormat)

public GLFrameBuffer.GLFrameBufferBuilder<U>
addStencilTextureAttachment(int internalFormat, int type)

public abstract U
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

colorRenderBufferSpecsback to summary
public Array<GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec> colorRenderBufferSpecs
depthRenderBufferSpecback to summary
public GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec depthRenderBufferSpec
hasDepthRenderBufferback to summary
public boolean hasDepthRenderBuffer
hasPackedStencilDepthRenderBufferback to summary
public boolean hasPackedStencilDepthRenderBuffer
hasStencilRenderBufferback to summary
public boolean hasStencilRenderBuffer
heightback to summary
public int height
packedStencilDepthRenderBufferSpecback to summary
public GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec packedStencilDepthRenderBufferSpec
samplesback to summary
public int samples
stencilRenderBufferSpecback to summary
public GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec stencilRenderBufferSpec
textureAttachmentSpecsback to summary
public Array<GLFrameBuffer.FrameBufferTextureAttachmentSpec> textureAttachmentSpecs
widthback to summary
public int width

Constructor Detail

GLFrameBufferBuilderback to summary
public GLFrameBufferBuilder(int width, int height)
GLFrameBufferBuilderback to summary
public GLFrameBufferBuilder(int width, int height, int samples)

Method Detail

addBasicColorTextureAttachmentback to summary
public GLFrameBuffer.GLFrameBufferBuilder<U> addBasicColorTextureAttachment(Pixmap.Format format)
addBasicDepthRenderBufferback to summary
public GLFrameBuffer.GLFrameBufferBuilder<U> addBasicDepthRenderBuffer()
addBasicStencilDepthPackedRenderBufferback to summary
public GLFrameBuffer.GLFrameBufferBuilder<U> addBasicStencilDepthPackedRenderBuffer()
addBasicStencilRenderBufferback to summary
public GLFrameBuffer.GLFrameBufferBuilder<U> addBasicStencilRenderBuffer()
addColorRenderBufferback to summary
public GLFrameBuffer.GLFrameBufferBuilder<U> addColorRenderBuffer(int internalFormat)
addColorTextureAttachmentback to summary
public GLFrameBuffer.GLFrameBufferBuilder<U> addColorTextureAttachment(int internalFormat, int format, int type)
addDepthRenderBufferback to summary
public GLFrameBuffer.GLFrameBufferBuilder<U> addDepthRenderBuffer(int internalFormat)
addDepthTextureAttachmentback to summary
public GLFrameBuffer.GLFrameBufferBuilder<U> addDepthTextureAttachment(int internalFormat, int type)
addFloatAttachmentback to summary
public GLFrameBuffer.GLFrameBufferBuilder<U> addFloatAttachment(int internalFormat, int format, int type, boolean gpuOnly)
addStencilDepthPackedRenderBufferback to summary
public GLFrameBuffer.GLFrameBufferBuilder<U> addStencilDepthPackedRenderBuffer(int internalFormat)
addStencilRenderBufferback to summary
public GLFrameBuffer.GLFrameBufferBuilder<U> addStencilRenderBuffer(int internalFormat)
addStencilTextureAttachmentback to summary
public GLFrameBuffer.GLFrameBufferBuilder<U> addStencilTextureAttachment(int internalFormat, int type)
buildback to summary
public abstract U build()