protected abstract static class GLFrameBuffer.GLFrameBufferBuilder<U extends GLFrameBuffer<? extends GLTexture>>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec |
depthRenderBufferSpec |
protected boolean |
hasDepthRenderBuffer |
protected boolean |
hasPackedStencilDepthRenderBuffer |
protected boolean |
hasStencilRenderBuffer |
protected int |
height |
protected GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec |
packedStencilDepthRenderBufferSpec |
protected GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec |
stencilRenderBufferSpec |
protected Array<GLFrameBuffer.FrameBufferTextureAttachmentSpec> |
textureAttachmentSpecs |
protected int |
width |
Constructor and Description |
---|
GLFrameBufferBuilder(int width,
int height) |
protected int width
protected int height
protected Array<GLFrameBuffer.FrameBufferTextureAttachmentSpec> textureAttachmentSpecs
protected GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec stencilRenderBufferSpec
protected GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec depthRenderBufferSpec
protected GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec packedStencilDepthRenderBufferSpec
protected boolean hasStencilRenderBuffer
protected boolean hasDepthRenderBuffer
protected boolean hasPackedStencilDepthRenderBuffer
public GLFrameBuffer.GLFrameBufferBuilder<U> addColorTextureAttachment(int internalFormat, int format, int type)
public GLFrameBuffer.GLFrameBufferBuilder<U> addBasicColorTextureAttachment(Pixmap.Format format)
public GLFrameBuffer.GLFrameBufferBuilder<U> addFloatAttachment(int internalFormat, int format, int type, boolean gpuOnly)
public GLFrameBuffer.GLFrameBufferBuilder<U> addDepthTextureAttachment(int internalFormat, int type)
public GLFrameBuffer.GLFrameBufferBuilder<U> addStencilTextureAttachment(int internalFormat, int type)
public GLFrameBuffer.GLFrameBufferBuilder<U> addDepthRenderBuffer(int internalFormat)
public GLFrameBuffer.GLFrameBufferBuilder<U> addStencilRenderBuffer(int internalFormat)
public GLFrameBuffer.GLFrameBufferBuilder<U> addStencilDepthPackedRenderBuffer(int internalFormat)
public GLFrameBuffer.GLFrameBufferBuilder<U> addBasicDepthRenderBuffer()
public GLFrameBuffer.GLFrameBufferBuilder<U> addBasicStencilRenderBuffer()
public GLFrameBuffer.GLFrameBufferBuilder<U> addBasicStencilDepthPackedRenderBuffer()
public abstract U build()