Class FloatFrameBuffer

    • Constructor Detail

      • 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:
        GdxRuntimeException - in case the FrameBuffer could not be created