Remove RenderableActor
[platform/core/uifw/dali-core.git] / dali / devel-api / rendering / cull-face.h
1 #ifndef DALI_CULL_FACE_H
2 #define DALI_CULL_FACE_H
3
4 /*
5  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
6  *
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
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
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.
18  *
19  */
20
21 // INTERNAL INCLUDES
22 #include <dali/public-api/common/dali-common.h>
23
24 namespace Dali
25 {
26
27 /**
28  * @brief Face culling modes.
29  */
30 enum CullFaceMode
31 {
32   CullNone,                 ///< Face culling disabled
33   CullFront,                ///< Cull front facing polygons
34   CullBack,                 ///< Cull back facing polygons
35   CullFrontAndBack          ///< Cull front and back facing polygons
36 };
37
38 class ImageActor;
39
40 /**
41  * @brief Set the face-culling mode for an image-actor.
42  *
43  * @param[in] actor The image-actor to set the cull-face on.
44  * @param[in] mode The culling mode.
45  */
46 DALI_IMPORT_API void SetCullFace( ImageActor actor, CullFaceMode mode);
47
48 /**
49  * @brief Retrieve the face-culling mode for an image-actor.
50  *
51  * @param[in] actor The image-actor whose cull-face is required.
52  * @return mode The culling mode.
53  */
54 DALI_IMPORT_API CullFaceMode GetCullFace( ImageActor actor );
55
56 } //namespace Dali
57
58 #endif // DALI_CULL_FACE_H