]> git.tdb.fi Git - libs/gl.git/blobdiff - source/renderbuffer.h
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / renderbuffer.h
index efcf5658872982f3aaf6f3ca97471c363a797ec5..afc6ed204298a7bbcfe02d6c95a87af83c6a1bba 100644 (file)
@@ -34,6 +34,10 @@ public:
        /** Allocates storage for the renderbuffer. */
        void storage(PixelFormat fmt, unsigned wd, unsigned ht);
 
+       /** Returns the maximum supported sample count for multisampling.  If
+       multisampling is not supported, returns 0. */
+       static unsigned get_max_samples();
+
        /** Allocates multisample storage for the renderbuffer.  All attachments in
        a framebuffer must have the same number of samples.  To transfer the
        contents to a texture for furter processing, use the framebuffer blit