Package gaiasky.util.gdx.contrib.utils
Class GaiaSkyFrameBuffer
java.lang.Object
com.badlogic.gdx.graphics.glutils.GLFrameBuffer<com.badlogic.gdx.graphics.Texture>
com.badlogic.gdx.graphics.glutils.FrameBuffer
gaiasky.util.gdx.contrib.utils.GaiaSkyFrameBuffer
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
public class GaiaSkyFrameBuffer
extends com.badlogic.gdx.graphics.glutils.FrameBuffer
Exposes a builder accepting a buffer builder.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.badlogic.gdx.graphics.glutils.GLFrameBuffer
com.badlogic.gdx.graphics.glutils.GLFrameBuffer.FloatFrameBufferBuilder, com.badlogic.gdx.graphics.glutils.GLFrameBuffer.FrameBufferBuilder, com.badlogic.gdx.graphics.glutils.GLFrameBuffer.FrameBufferCubemapBuilder, com.badlogic.gdx.graphics.glutils.GLFrameBuffer.FrameBufferRenderBufferAttachmentSpec, com.badlogic.gdx.graphics.glutils.GLFrameBuffer.FrameBufferTextureAttachmentSpec, com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder<U extends com.badlogic.gdx.graphics.glutils.GLFrameBuffer<? extends com.badlogic.gdx.graphics.GLTexture>> -
Field Summary
Fields inherited from class com.badlogic.gdx.graphics.glutils.GLFrameBuffer
bufferBuilder, buffers, defaultFramebufferHandle, defaultFramebufferHandleInitialized, depthbufferHandle, depthStencilPackedBufferHandle, framebufferHandle, GL_DEPTH24_STENCIL8_OES, hasDepthStencilPackedBuffer, isMRT, stencilbufferHandle, textureAttachments -
Constructor Summary
ConstructorsConstructorDescriptionGaiaSkyFrameBuffer(com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder<? extends com.badlogic.gdx.graphics.glutils.GLFrameBuffer<com.badlogic.gdx.graphics.Texture>> bufferBuilder) -
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.graphics.Texturecom.badlogic.gdx.graphics.Texturecom.badlogic.gdx.graphics.Texturecom.badlogic.gdx.graphics.Texturecom.badlogic.gdx.graphics.TexturegetTextureAttachment(int index)com.badlogic.gdx.graphics.TextureMethods inherited from class com.badlogic.gdx.graphics.glutils.FrameBuffer
attachFrameBufferColorTexture, createTexture, disposeColorTexture, unbindMethods inherited from class com.badlogic.gdx.graphics.glutils.GLFrameBuffer
begin, bind, build, clearAllFrameBuffers, dispose, end, end, getDepthBufferHandle, getDepthStencilPackedBuffer, getFramebufferHandle, getHeight, getManagedStatus, getManagedStatus, getStencilBufferHandle, getTextureAttachments, getWidth, invalidateAllFrameBuffers, setFrameBufferViewport
-
Constructor Details
-
GaiaSkyFrameBuffer
public GaiaSkyFrameBuffer(com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder<? extends com.badlogic.gdx.graphics.glutils.GLFrameBuffer<com.badlogic.gdx.graphics.Texture>> bufferBuilder)
-
-
Method Details
-
getDepthBufferTexture
public com.badlogic.gdx.graphics.Texture getDepthBufferTexture() -
getVelocityBufferTexture
public com.badlogic.gdx.graphics.Texture getVelocityBufferTexture() -
getColorBufferTexture
public com.badlogic.gdx.graphics.Texture getColorBufferTexture()- Overrides:
getColorBufferTexturein classcom.badlogic.gdx.graphics.glutils.GLFrameBuffer<com.badlogic.gdx.graphics.Texture>
-
getColorBufferTexture1
public com.badlogic.gdx.graphics.Texture getColorBufferTexture1() -
getColorBufferTexture2
public com.badlogic.gdx.graphics.Texture getColorBufferTexture2() -
getTextureAttachment
public com.badlogic.gdx.graphics.Texture getTextureAttachment(int index)
-