Class GLFrameBuffer.GLFrameBufferBuilder<U extends GLFrameBuffer<? extends GLTexture>>
- java.lang.Object
-
- com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder<U>
-
- Direct Known Subclasses:
GLFrameBuffer.FloatFrameBufferBuilder,GLFrameBuffer.FrameBufferBuilder,GLFrameBuffer.FrameBufferCubemapBuilder
- Enclosing class:
- GLFrameBuffer<T extends GLTexture>
public abstract static class GLFrameBuffer.GLFrameBufferBuilder<U extends GLFrameBuffer<? extends GLTexture>> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected GLFrameBuffer.FrameBufferRenderBufferAttachmentSpecdepthRenderBufferSpecprotected booleanhasDepthRenderBufferprotected booleanhasPackedStencilDepthRenderBufferprotected booleanhasStencilRenderBufferprotected intheightprotected GLFrameBuffer.FrameBufferRenderBufferAttachmentSpecpackedStencilDepthRenderBufferSpecprotected GLFrameBuffer.FrameBufferRenderBufferAttachmentSpecstencilRenderBufferSpecprotected Array<GLFrameBuffer.FrameBufferTextureAttachmentSpec>textureAttachmentSpecsprotected intwidth
-
Constructor Summary
Constructors Constructor Description GLFrameBufferBuilder(int width, int height)
-
Method Summary
-
-
-
Field Detail
-
width
protected int width
-
height
protected int height
-
textureAttachmentSpecs
protected Array<GLFrameBuffer.FrameBufferTextureAttachmentSpec> textureAttachmentSpecs
-
stencilRenderBufferSpec
protected GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec stencilRenderBufferSpec
-
depthRenderBufferSpec
protected GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec depthRenderBufferSpec
-
packedStencilDepthRenderBufferSpec
protected GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec packedStencilDepthRenderBufferSpec
-
hasStencilRenderBuffer
protected boolean hasStencilRenderBuffer
-
hasDepthRenderBuffer
protected boolean hasDepthRenderBuffer
-
hasPackedStencilDepthRenderBuffer
protected boolean hasPackedStencilDepthRenderBuffer
-
-
Method Detail
-
addColorTextureAttachment
public GLFrameBuffer.GLFrameBufferBuilder<U> addColorTextureAttachment(int internalFormat, int format, int type)
-
addBasicColorTextureAttachment
public GLFrameBuffer.GLFrameBufferBuilder<U> addBasicColorTextureAttachment(Pixmap.Format format)
-
addFloatAttachment
public GLFrameBuffer.GLFrameBufferBuilder<U> addFloatAttachment(int internalFormat, int format, int type, boolean gpuOnly)
-
addDepthTextureAttachment
public GLFrameBuffer.GLFrameBufferBuilder<U> addDepthTextureAttachment(int internalFormat, int type)
-
addStencilTextureAttachment
public GLFrameBuffer.GLFrameBufferBuilder<U> addStencilTextureAttachment(int internalFormat, int type)
-
addDepthRenderBuffer
public GLFrameBuffer.GLFrameBufferBuilder<U> addDepthRenderBuffer(int internalFormat)
-
addStencilRenderBuffer
public GLFrameBuffer.GLFrameBufferBuilder<U> addStencilRenderBuffer(int internalFormat)
-
addStencilDepthPackedRenderBuffer
public GLFrameBuffer.GLFrameBufferBuilder<U> addStencilDepthPackedRenderBuffer(int internalFormat)
-
addBasicDepthRenderBuffer
public GLFrameBuffer.GLFrameBufferBuilder<U> addBasicDepthRenderBuffer()
-
addBasicStencilRenderBuffer
public GLFrameBuffer.GLFrameBufferBuilder<U> addBasicStencilRenderBuffer()
-
addBasicStencilDepthPackedRenderBuffer
public GLFrameBuffer.GLFrameBufferBuilder<U> addBasicStencilDepthPackedRenderBuffer()
-
build
public abstract U build()
-
-