Tizen Native API
Dali::RenderTaskList Class Reference

An ordered list of Dali::RenderTasks. More...

Inheritance diagram for Dali::RenderTaskList:
Dali::BaseHandle

Public Member Functions

 RenderTaskList ()
 Create an empty RenderTaskList handle.
 ~RenderTaskList ()
 Destructor.
 RenderTaskList (const RenderTaskList &handle)
 This copy constructor is required for (smart) pointer semantics.
RenderTaskListoperator= (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

This copy constructor is required for (smart) pointer semantics.

Since :
2.4
Parameters:
[in]handleA 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.

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]handleA 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]indexThe 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]rhsA reference to the copied handle
Returns:
A reference to this

Remove a RenderTask from the list of render-tasks.

Since :
2.4
Parameters:
[in]taskThe render-task to remove.