Package arc.graphics.gl
Class GLFrameBuffer.GLFrameBufferBuilder<U extends GLFrameBuffer<? extends GLTexture>>
java.lang.Object
arc.graphics.gl.GLFrameBuffer.GLFrameBufferBuilder<U>
- Direct Known Subclasses:
GLFrameBuffer.FloatFrameBufferBuilder
,GLFrameBuffer.FrameBufferBuilder
,GLFrameBuffer.FrameBufferCubemapBuilder
- Enclosing class:
- GLFrameBuffer<T extends GLTexture>
protected abstract static class GLFrameBuffer.GLFrameBufferBuilder<U extends GLFrameBuffer<? extends GLTexture>>
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
protected int
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddColorTextureAttachment
(int internalFormat, int format, int type) addDepthRenderBuffer
(int internalFormat) addDepthTextureAttachment
(int internalFormat, int type) addFloatAttachment
(int internalFormat, int format, int type, boolean gpuOnly) addStencilDepthPackedRenderBuffer
(int internalFormat) addStencilRenderBuffer
(int internalFormat) addStencilTextureAttachment
(int internalFormat, int type) abstract U
build()
-
Field Details
-
width
protected int width -
height
protected int height -
textureAttachmentSpecs
-
stencilRenderBufferSpec
-
depthRenderBufferSpec
-
packedStencilDepthRenderBufferSpec
-
hasStencilRenderBuffer
protected boolean hasStencilRenderBuffer -
hasDepthRenderBuffer
protected boolean hasDepthRenderBuffer -
hasPackedStencilDepthRenderBuffer
protected boolean hasPackedStencilDepthRenderBuffer
-
-
Constructor Details
-
GLFrameBufferBuilder
public GLFrameBufferBuilder(int width, int height)
-
-
Method Details
-
addColorTextureAttachment
public GLFrameBuffer.GLFrameBufferBuilder<U> addColorTextureAttachment(int internalFormat, int format, int type) -
addBasicColorTextureAttachment
-
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
-
addStencilRenderBuffer
-
addStencilDepthPackedRenderBuffer
-
addBasicDepthRenderBuffer
-
addBasicStencilRenderBuffer
-
addBasicStencilDepthPackedRenderBuffer
-
build
-