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

    Constructors
    Constructor
    Description
    GaiaSkyFrameBuffer​(com.badlogic.gdx.graphics.glutils.GLFrameBuffer.GLFrameBufferBuilder<? extends com.badlogic.gdx.graphics.glutils.GLFrameBuffer<com.badlogic.gdx.graphics.Texture>> bufferBuilder)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.badlogic.gdx.graphics.Texture
     
    com.badlogic.gdx.graphics.Texture
     
    com.badlogic.gdx.graphics.Texture
     
    com.badlogic.gdx.graphics.Texture
     
    com.badlogic.gdx.graphics.Texture
    getTextureAttachment​(int index)
     
    com.badlogic.gdx.graphics.Texture
     

    Methods inherited from class com.badlogic.gdx.graphics.glutils.FrameBuffer

    attachFrameBufferColorTexture, createTexture, disposeColorTexture, unbind

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getColorBufferTexture in class com.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)