1 #ifndef DALI_CULL_FACE_H
2 #define DALI_CULL_FACE_H
5 * Copyright (c) 2015 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/common/dali-common.h>
28 * @brief Face culling modes.
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
41 * @brief Set the face-culling mode for an image-actor.
43 * @param[in] actor The image-actor to set the cull-face on.
44 * @param[in] mode The culling mode.
46 DALI_IMPORT_API void SetCullFace( ImageActor actor, CullFaceMode mode);
49 * @brief Retrieve the face-culling mode for an image-actor.
51 * @param[in] actor The image-actor whose cull-face is required.
52 * @return mode The culling mode.
54 DALI_IMPORT_API CullFaceMode GetCullFace( ImageActor actor );
58 #endif // DALI_CULL_FACE_H