[NUI] Add DepthIndex in Material
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI.Scene3D / src / public / ModelComponents / MaterialDepthIndexRanges.cs
1 /*
2  * Copyright(c) 2023 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 using System.ComponentModel;
19
20 namespace Tizen.NUI.Scene3D
21 {
22     /// <summary>
23     /// Depth index ranges to define rendering order.
24     /// </summary>
25     // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
26     [EditorBrowsable(EditorBrowsableState.Never)]
27     public enum MaterialDepthIndexRange
28     {
29         /// <summary>
30         /// Depth index range for 3D scene content.
31         /// </summary>
32         /// <remarks>
33         /// The range of the scene content is between [Scene, Scene + 999]
34         /// </remarks>
35         // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
36         [EditorBrowsable(EditorBrowsableState.Never)]
37         Scene = -2000,
38
39         /// <summary>
40         /// Depth index range for UI scene content.
41         /// </summary>
42         /// <remarks>
43         /// The range of the UI content is between [UI, UI + 999].
44         /// Some of internally created Renderer of Toolkit::Control already has
45         /// default depth index value.
46         /// Developer can fix the default values for their design.
47         /// </remarks>
48         // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
49         [EditorBrowsable(EditorBrowsableState.Never)]
50         UI = 0,
51     }
52 }