- COLOR, ///< Framebuffer will be created with color buffer @SINCE_1_1.43
- COLOR_DEPTH, ///< Framebuffer will be created with color and depth buffer @SINCE_1_1.43
- COLOR_STENCIL, ///< Framebuffer will be created with color and stencil buffer @SINCE_1_1.43
- COLOR_DEPTH_STENCIL ///< Framebuffer will be created with color, depth and stencil buffer. @note May be not supported in all devices @SINCE_1_1.43
+ /**
+ * @brief Enumeration for the bit-mask value.
+ * @SINCE_1_1.45
+ */
+ enum Mask
+ {
+ NONE = 0, ///< No attachments are created initially @SINCE_1_1.45
+
+ DEPTH = 1 << 0, ///< Depth buffer bit-mask value @SINCE_1_1.45
+ STENCIL = 1 << 1, ///< Stencil buffer bit-mask value @SINCE_1_1.45
+
+ // Preset bit-mask combinations:
+ DEPTH_STENCIL = DEPTH | STENCIL ///< The Framebuffer will be created with depth and stencil buffer @SINCE_1_1.45
+ };