{
/**
* @brief Render Buffer formats
+ *
* The default format for framebuffer creation is COLOR, so If a depth buffer for 3D rendering is required use
* COLOR_DEPTH instead
+ * @SINCE_1_0.0
*/
enum Format ///< Framebuffer format, default color depth is RGBA 32 bit with alpha @SINCE_1_0.0
{
COLOR, ///< Framebuffer will be created with color buffer. @SINCE_1_0.0
COLOR_DEPTH, ///< Framebuffer will be created with color and depth buffer @SINCE_1_0.0
COLOR_STENCIL, ///< Framebuffer will be created with color and stencil buffer @SINCE_1_0.0
- COLOR_DEPTH_STENCIL ///< Framebuffer will be created with color, depth and stencil buffer. NOTE: May be not supported in all devices @SINCE_1_0.0
+ COLOR_DEPTH_STENCIL ///< Framebuffer will be created with color, depth and stencil buffer. @note May be not supported in all devices @SINCE_1_0.0
};
}
/**
- * @brief FrameBufferImage represents a Open GL ES Frame Buffer Object
- * It contains the result of an 'off screen' render pass of a RenderTask.
+ * @brief FrameBufferImage represents an Open GL ES Frame Buffer Object and contains the result
+ * of an 'off screen' render pass of a RenderTask.
+ *
* The FrameBufferImage can then be used for rendering to the screen.
* @SINCE_1_0.0
*/
/**
* @brief Constructor which creates an uninitialized FrameBufferImage object.
*
- * Use Image::New(...) to create an initialised object.
+ * Use @ref FrameBufferImage::New to create an initialised object.
* @SINCE_1_0.0
*/
FrameBufferImage();
RenderBuffer::Format bufferFormat = RenderBuffer::COLOR);
/**
- * @deprecated DALi 1.1.3 use New() instead.
- *
- * @brief Create a new FrameBufferImage.
- *
- * The maximum size of the image is limited by GL_MAX_TEXTURE_SIZE.
- * @SINCE_1_0.0
- * @param [in] width The width in pixels. Setting to zero will use the width of the stage.
- * @param [in] height The height in pixels. Setting to zero will use the height of the stage.
- * @param [in] pixelFormat The pixel format.
- * @param [in] releasePolicy The ReleasePolicy to apply to the FrameBufferImage.
- * @param [in] bufferFormat The format of the buffers that are going to be created for the FBO, (COLOR and DEPTH buffer as default)
- *
- * @return A handle to a new instance of a FrameBufferImage.
- * @post When the FrameBufferImage is first used as a render target, an exception may be thrown if pixelFormat is not supported on the hardware platform.
- */
- static FrameBufferImage New(unsigned int width, unsigned int height, Pixel::Format pixelFormat, ReleasePolicy releasePolicy,
- RenderBuffer::Format bufferFormat = RenderBuffer::COLOR);
-
- /**
* @brief Create a new FrameBufferImage.
*
* The maximum size of the image is limited by GL_MAX_TEXTURE_SIZE.
static FrameBufferImage New(NativeImageInterface& image);
/**
- * @deprecated DALi 1.1.3 use New( NativeImageInterface& ) instead.
- *
- * @brief Create a new FrameBufferImage.
- *
- * The maximum size of the image is limited by GL_MAX_TEXTURE_SIZE.
- * @SINCE_1_0.0
- * @param [in] image The native image.
- * @param [in] releasePolicy The ReleasePolicy to apply to the FrameBufferImage.
- *
- * @return A handle to a new instance of a FrameBufferImage.
- * @post When the FrameBufferImage is first used as a render target, an exception may be thrown if the NativeImage cannot be mapped to a texture.
- */
- static FrameBufferImage New(NativeImageInterface& image, ReleasePolicy releasePolicy);
-
- /**
- * @brief Downcast an Object handle to FrameBufferImage handle.
+ * @brief Downcast a handle to FrameBufferImage handle.
*
* If handle points to a FrameBufferImage object the
* downcast produces valid handle. If not the returned handle is left uninitialized.
* @SINCE_1_0.0
- * @param[in] handle to An object
- * @return handle to a FrameBufferImage object or an uninitialized handle
+ * @param[in] handle Handle to an object
+ * @return Handle to a FrameBufferImage object or an uninitialized handle
*/
static FrameBufferImage DownCast( BaseHandle handle );