Class FloatFrameBuffer

All Implemented Interfaces:
Disposable

public class FloatFrameBuffer extends FrameBuffer
This is a FrameBuffer variant backed by a float texture.
  • Constructor Details

    • FloatFrameBuffer

      protected FloatFrameBuffer(GLFrameBuffer.GLFrameBufferBuilder<? extends GLFrameBuffer<Texture>> bufferBuilder)
      Creates a GLFrameBuffer from the specifications provided by bufferBuilder
    • FloatFrameBuffer

      public FloatFrameBuffer(int width, int height, boolean hasDepth)
      Creates a new FrameBuffer with a float backing texture, having the given dimensions and potentially a depth buffer attached.
      Parameters:
      width - the width of the framebuffer in pixels
      height - the height of the framebuffer in pixels
      hasDepth - whether to attach a depth buffer
      Throws:
      ArcRuntimeException - in case the FrameBuffer could not be created
  • Method Details