X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fframebuffer.h;h=b805721640f26f5ce764cf867f689a2a9411cb69;hp=920d9422fae0c103d0a492c81e9024b9f3a595ae;hb=f4f81f1d86d50b29b9a44b237f67c6f5ad8f0523;hpb=644b81d62660bafa702bfd7acedd3a0039aad993 diff --git a/source/core/framebuffer.h b/source/core/framebuffer.h index 920d9422..b8057216 100644 --- a/source/core/framebuffer.h +++ b/source/core/framebuffer.h @@ -99,6 +99,9 @@ public: void attach_layered(FrameAttachment attch, TextureCube &, unsigned level = 0); void detach(FrameAttachment attch); + const Texture *get_attachment(FrameAttachment) const; + const Texture *get_attachment(unsigned) const; + /** Ensures that the framebuffer is complete, throwing an exception if it isn't. */ void require_complete() const;