1 #ifndef DALI_INTEGRATION_RENDER_TASK_LIST_H
2 #define DALI_INTEGRATION_RENDER_TASK_LIST_H
5 * Copyright (c) 2020 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
22 #include <dali/public-api/render-tasks/render-task-list.h>
31 namespace RenderTaskList
34 * @brief Helper function to create a new RenderTaskList object.
36 * A RenderTaskList is an ordered list of render tasks that describes
37 * how the Dali scene should be rendered.
39 * @return A handle to a newly allocated RenderTaskList
41 DALI_CORE_API Dali::RenderTaskList New();
44 * @brief Helper function to create a new RenderTask.
46 * The created task will be appended to the list of render-tasks.
48 * @param[in] taskList The render task list containing all the render-tasks.
49 * @param[in] sourceActor The actor and its children to be rendered for this render task.
50 * @param[in] cameraActor The actor from which the scene is viewed for this render task.
51 * @return A valid handle to a new RenderTask
53 DALI_CORE_API Dali::RenderTask CreateTask(Dali::RenderTaskList& taskList, Dali::Actor& sourceActor, Dali::CameraActor& cameraActor);
55 } // namespace RenderTaskList
57 } // namespace Integration
61 #endif // DALI_INTEGRATION_RENDER_TASK_LIST_H