Tizen Native API
|
An ordered list of Dali::RenderTasks. More...
Public Member Functions | |
RenderTaskList () | |
Create an empty RenderTaskList handle. | |
~RenderTaskList () | |
Destructor. | |
RenderTaskList (const RenderTaskList &handle) | |
This copy constructor is required for (smart) pointer semantics. | |
RenderTaskList & | operator= (const RenderTaskList &rhs) |
This assignment operator is required for (smart) pointer semantics. | |
RenderTask | CreateTask () |
Create a new RenderTask. | |
void | RemoveTask (RenderTask task) |
Remove a RenderTask from the list of render-tasks. | |
unsigned int | GetTaskCount () const |
Query the number of render-tasks in the list. | |
RenderTask | GetTask (unsigned int index) const |
Retrieve a render-task. | |
Static Public Member Functions | |
static RenderTaskList | DownCast (BaseHandle handle) |
Downcast a handle to RenderTaskList handle. |
Detailed Description
An ordered list of Dali::RenderTasks.
These tasks describe how the Dali scene should be rendered;
- See also:
- Dali::RenderTask for more details.
- Since :
- 2.4
Constructor & Destructor Documentation
Create an empty RenderTaskList handle.
This can be initialised with Stage::GetRenderTaskList().
- Since :
- 2.4
Destructor.
This is non-virtual since derived Handle types must not contain data or virtual methods.
- Since :
- 2.4
Dali::RenderTaskList::RenderTaskList | ( | const RenderTaskList & | handle | ) |
This copy constructor is required for (smart) pointer semantics.
- Since :
- 2.4
- Parameters:
-
[in] handle A reference to the copied handle
Member Function Documentation
Create a new RenderTask.
This will be appended to the list of render-tasks.
- Since :
- 2.4
- Returns:
- A valid handle to a new RenderTask.
static RenderTaskList Dali::RenderTaskList::DownCast | ( | BaseHandle | handle | ) | [static] |
Downcast a handle to RenderTaskList handle.
If handle points to a RenderTaskList the downcast produces valid handle. If not the returned handle is left uninitialized.
- Since :
- 2.4
- Parameters:
-
[in] handle A handle to an object.
- Returns:
- A handle to a RenderTaskList or an uninitialized handle.
RenderTask Dali::RenderTaskList::GetTask | ( | unsigned int | index | ) | const |
Retrieve a render-task.
- Since :
- 2.4
- Parameters:
-
[in] index The index of the render task to retrieve
- Returns:
- A handle to the render-task.
- Precondition:
- index should be in range i.e. less than GetTaskCount().
unsigned int Dali::RenderTaskList::GetTaskCount | ( | ) | const |
Query the number of render-tasks in the list.
This is ordered i.e. the task with index 0 is the first to be processed each frame.
- Since :
- 2.4
- Returns:
- The number of render-tasks.
RenderTaskList& Dali::RenderTaskList::operator= | ( | const RenderTaskList & | rhs | ) |
This assignment operator is required for (smart) pointer semantics.
- Since :
- 2.4
- Parameters:
-
[in] rhs A reference to the copied handle
- Returns:
- A reference to this
void Dali::RenderTaskList::RemoveTask | ( | RenderTask | task | ) |
Remove a RenderTask from the list of render-tasks.
- Since :
- 2.4
- Parameters:
-
[in] task The render-task to remove.