Tizen Native API
6.5
|
FrameBufferImage represents an Open GL ES Frame Buffer Object and contains the result of an 'off screen' render pass of a RenderTask. More...
Public Member Functions | |
FrameBufferImage () DALI_DEPRECATED_API | |
Constructor which creates an uninitialized FrameBufferImage object. | |
~FrameBufferImage () DALI_DEPRECATED_API | |
Destructor. | |
FrameBufferImage (const FrameBufferImage &handle) DALI_DEPRECATED_API | |
This copy constructor is required for (smart) pointer semantics. | |
FrameBufferImage & | operator= (const FrameBufferImage &rhs) DALI_DEPRECATED_API |
This assignment operator is required for (smart) pointer semantics. | |
Static Public Member Functions | |
static FrameBufferImage | New (uint32_t width=0, uint32_t height=0, Pixel::Format pixelFormat=Pixel::RGBA8888, RenderBuffer::Format bufferFormat=RenderBuffer::COLOR) DALI_DEPRECATED_API |
Creates a new FrameBufferImage. | |
static FrameBufferImage | New (NativeImageInterface &image) DALI_DEPRECATED_API |
Creates a new FrameBufferImage. | |
static FrameBufferImage | DownCast (BaseHandle handle) DALI_DEPRECATED_API |
Downcasts a handle to FrameBufferImage handle. |
Detailed Description
FrameBufferImage represents an Open GL ES Frame Buffer Object and contains the result of an 'off screen' render pass of a RenderTask.
- Deprecated:
- Deprecated since 4.0, DALi version 1.2.41
The FrameBufferImage can then be used for rendering to the screen.
- Since:
- 2.4, DALi version 1.0.0
Constructor & Destructor Documentation
Constructor which creates an uninitialized FrameBufferImage object.
- Deprecated:
- Deprecated since 4.0, DALi version 1.2.41
Use FrameBufferImage::New to create an initialized object.
- Since:
- 2.4, DALi version 1.0.0
Destructor.
- Deprecated:
- Deprecated since 4.0, DALi version 1.2.41
This is non-virtual since derived Handle types must not contain data or virtual methods.
- Since:
- 2.4, DALi version 1.0.0
Dali::FrameBufferImage::FrameBufferImage | ( | const FrameBufferImage & | handle | ) |
This copy constructor is required for (smart) pointer semantics.
- Deprecated:
- Deprecated since 4.0, DALi version 1.2.41
- Since:
- 2.4, DALi version 1.0.0
- Parameters:
-
[in] handle A reference to the copied handle
Member Function Documentation
static FrameBufferImage Dali::FrameBufferImage::DownCast | ( | BaseHandle | handle | ) | [static] |
Downcasts a handle to FrameBufferImage handle.
- Deprecated:
- Deprecated since 4.0, DALi version 1.2.41
If handle points to a FrameBufferImage object, the downcast produces valid handle. If not, the returned handle is left uninitialized.
- Since:
- 2.4, DALi version 1.0.0
- Parameters:
-
[in] handle Handle to an object
- Returns:
- Handle to a FrameBufferImage object or an uninitialized handle
Reimplemented from Dali::Image.
static FrameBufferImage Dali::FrameBufferImage::New | ( | uint32_t | width = 0 , |
uint32_t | height = 0 , |
||
Pixel::Format | pixelFormat = Pixel::RGBA8888 , |
||
RenderBuffer::Format | bufferFormat = RenderBuffer::COLOR |
||
) | [static] |
Creates a new FrameBufferImage.
- Deprecated:
- Deprecated since 4.0, DALi version 1.2.41
The maximum size of the image is limited by GL_MAX_TEXTURE_SIZE.
- Since:
- 2.4, DALi version 1.0.0
- Parameters:
-
[in] width The width in pixels. Setting to zero will use the width of the stage [in] height The height in pixels. Setting to zero will use the height of the stage [in] pixelFormat The pixel format (rgba 32 bit by default) [in] bufferFormat The format of the buffers that are going to be created for the FBO, (COLOR and DEPTH buffer as default)
- Returns:
- A handle to a new instance of a FrameBufferImage
- Postcondition:
- 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 Dali::FrameBufferImage::New | ( | NativeImageInterface & | image | ) | [static] |
Creates a new FrameBufferImage.
- Deprecated:
- Deprecated since 4.0, DALi version 1.2.41
The maximum size of the image is limited by GL_MAX_TEXTURE_SIZE.
- Since:
- 2.4, DALi version 1.0.0
- Parameters:
-
[in] image The native image
- Returns:
- A handle to a new instance of a FrameBufferImage
- Postcondition:
- When the FrameBufferImage is first used as a render target, an exception may be thrown if the NativeImage cannot be mapped to a texture.
FrameBufferImage& Dali::FrameBufferImage::operator= | ( | const FrameBufferImage & | rhs | ) |
This assignment operator is required for (smart) pointer semantics.
- Deprecated:
- Deprecated since 4.0, DALi version 1.2.41
- Since:
- 2.4, DALi version 1.0.0
- Parameters:
-
[in] rhs A reference to the copied handle
- Returns:
- A reference to this