Class GaiaSkyFrameBuffer
java.lang.Object
com.badlogic.gdx.graphics.glutils.GLFrameBuffer<com.badlogic.gdx.graphics.Texture>
com.badlogic.gdx.graphics.glutils.FrameBuffer
gaiasky.render.util.GaiaSkyFrameBuffer
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
public class GaiaSkyFrameBuffer
extends com.badlogic.gdx.graphics.glutils.FrameBuffer
-
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> -
Field Summary
Fields inherited from class com.badlogic.gdx.graphics.glutils.GLFrameBuffer
bufferBuilder, buffers, colorBufferHandles, 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, int... indices) Creates a buffer. -
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.gdx.graphics.Texturecom.badlogic.gdx.graphics.Texturecom.badlogic.gdx.graphics.Texturecom.badlogic.gdx.graphics.Texturecom.badlogic.gdx.graphics.Texturecom.badlogic.gdx.graphics.TexturegetTextureAttachment(int index) Methods 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, getColorBufferHandle, getDepthBufferHandle, getDepthStencilPackedBuffer, getFramebufferHandle, getHeight, getManagedStatus, getManagedStatus, getStencilBufferHandle, getTextureAttachments, getWidth, invalidateAllFrameBuffers, setFrameBufferViewport, transfer, transfer
-
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, int... indices) Creates a buffer. Contains the builder and the indices for color, depth, layer, normal and reflection mask buffers. If any of the indices is negative, the render target does not exist in this buffer.- Parameters:
bufferBuilder- The builder.indices- The indices for color, depth, layer, normal and reflection mask buffers.
-
-
Method Details
-
getColorBufferTexture
public com.badlogic.gdx.graphics.Texture getColorBufferTexture()- Overrides:
getColorBufferTexturein classcom.badlogic.gdx.graphics.glutils.GLFrameBuffer<com.badlogic.gdx.graphics.Texture>
-
getDepthBufferTexture
public com.badlogic.gdx.graphics.Texture getDepthBufferTexture() -
getLayerBufferTexture
public com.badlogic.gdx.graphics.Texture getLayerBufferTexture() -
getNormalBufferTexture
public com.badlogic.gdx.graphics.Texture getNormalBufferTexture() -
getReflectionMaskBufferTexture
public com.badlogic.gdx.graphics.Texture getReflectionMaskBufferTexture() -
getTextureAttachment
public com.badlogic.gdx.graphics.Texture getTextureAttachment(int index)
-