Class Framebuffer

    • Constructor Detail

      • Framebuffer

        public Framebuffer()
    • Method Detail

      • release

        public void release​(DrawContext dc)
        Description copied from interface: RenderResource
        Frees any resources associated with this instance. After this method returns the rendering resource is invalid, and any associated GL object is deleted.
        Specified by:
        release in interface RenderResource
        Parameters:
        dc - the current draw context
      • bindFramebuffer

        public boolean bindFramebuffer​(DrawContext dc)
      • attachTexture

        public boolean attachTexture​(DrawContext dc,
                                     Texture texture,
                                     int attachment)
      • getAttachedTexture

        public Texture getAttachedTexture​(int attachment)
      • isFramebufferComplete

        public boolean isFramebufferComplete​(DrawContext dc)