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
  • 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, int... indices)
    Creates a buffer.
  • 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
     
    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, int... indices)
      Creates a buffer. Contains the builder and the indices for color, depth, velocity, normal and reflection 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, velocity, normal and reflection buffers.
  • Method Details

    • getColorBufferTexture

      public com.badlogic.gdx.graphics.Texture getColorBufferTexture()
      Overrides:
      getColorBufferTexture in class com.badlogic.gdx.graphics.glutils.GLFrameBuffer<com.badlogic.gdx.graphics.Texture>
    • getDepthBufferTexture

      public com.badlogic.gdx.graphics.Texture getDepthBufferTexture()
    • getVelocityBufferTexture

      public com.badlogic.gdx.graphics.Texture getVelocityBufferTexture()
    • 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)