[NUI] remove "_" and refactoring naming to pascal case.
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Renderer.cs
1 /*
2  * Copyright(c) 2019 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 using System;
18 using System.ComponentModel;
19 using System.Runtime.InteropServices;
20
21 namespace Tizen.NUI
22 {
23     /// <summary>
24     /// Renderer is a handle to an object used to show content by combining a Geometry, a TextureSet and a shader.
25     /// </summary>
26     /// <since_tizen> 3 </since_tizen>
27     public class Renderer : Animatable
28     {
29
30         /// <summary>
31         /// Create an instance of Renderer.
32         /// </summary>
33         /// <since_tizen> 3 </since_tizen>
34         public Renderer(Geometry geometry, Shader shader) : this(Interop.Renderer.New(Geometry.getCPtr(geometry), Shader.getCPtr(shader)), true)
35         {
36             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
37
38         }
39
40         /// <summary>
41         /// Gets and Sets DepthIndex property.
42         /// </summary>
43         /// <since_tizen> 3 </since_tizen>
44         public int DepthIndex
45         {
46             get
47             {
48                 int temp = 0;
49                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.DepthIndex).Get(out temp);
50                 return temp;
51             }
52             set
53             {
54                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DepthIndex, new Tizen.NUI.PropertyValue(value));
55             }
56         }
57
58         /// <summary>
59         /// Gets and Sets FaceCullingMode.
60         /// </summary>
61         /// <since_tizen> 3 </since_tizen>
62         public int FaceCullingMode
63         {
64             get
65             {
66                 int temp = 0;
67                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.FaceCullingMode).Get(out temp);
68                 return temp;
69             }
70             set
71             {
72                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.FaceCullingMode, new Tizen.NUI.PropertyValue(value));
73             }
74         }
75
76         /// <summary>
77         /// Gets and Sets BlendMode.
78         /// </summary>
79         /// <since_tizen> 3 </since_tizen>
80         public int BlendMode
81         {
82             get
83             {
84                 int temp = 0;
85                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendMode).Get(out temp);
86                 return temp;
87             }
88             set
89             {
90                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendMode, new Tizen.NUI.PropertyValue(value));
91             }
92         }
93
94         /// <summary>
95         /// Gets and Sets BlendEquationRgb.
96         /// </summary>
97         /// <since_tizen> 3 </since_tizen>
98         public int BlendEquationRgb
99         {
100             get
101             {
102                 int temp = 0;
103                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendEquationRgb).Get(out temp);
104                 return temp;
105             }
106             set
107             {
108                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendEquationRgb, new Tizen.NUI.PropertyValue(value));
109             }
110         }
111
112         /// <summary>
113         /// Gets and Sets BlendEquationAlpha.
114         /// </summary>
115         /// <since_tizen> 3 </since_tizen>
116         public int BlendEquationAlpha
117         {
118             get
119             {
120                 int temp = 0;
121                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendEquationAlpha).Get(out temp);
122                 return temp;
123             }
124             set
125             {
126                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendEquationAlpha, new Tizen.NUI.PropertyValue(value));
127             }
128         }
129
130         /// <summary>
131         /// Gets and Sets BlendFactorSrcRgb.
132         /// </summary>
133         /// <since_tizen> 3 </since_tizen>
134         public int BlendFactorSrcRgb
135         {
136             get
137             {
138                 int temp = 0;
139                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendFactorSrcRgb).Get(out temp);
140                 return temp;
141             }
142             set
143             {
144                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendFactorSrcRgb, new Tizen.NUI.PropertyValue(value));
145             }
146         }
147
148         /// <summary>
149         /// Gets and Sets BlendFactorDestRgb.
150         /// </summary>
151         /// <since_tizen> 3 </since_tizen>
152         public int BlendFactorDestRgb
153         {
154             get
155             {
156                 int temp = 0;
157                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendFactorDestRgb).Get(out temp);
158                 return temp;
159             }
160             set
161             {
162                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendFactorDestRgb, new Tizen.NUI.PropertyValue(value));
163             }
164         }
165
166         /// <summary>
167         /// Gets and Sets BlendFactorSrcAlpha.
168         /// </summary>
169         /// <since_tizen> 3 </since_tizen>
170         public int BlendFactorSrcAlpha
171         {
172             get
173             {
174                 int temp = 0;
175                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendFactorSrcAlpha).Get(out temp);
176                 return temp;
177             }
178             set
179             {
180                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendFactorSrcAlpha, new Tizen.NUI.PropertyValue(value));
181             }
182         }
183
184         /// <summary>
185         /// Gets and Sets BlendFactorDestAlpha.
186         /// </summary>
187         /// <since_tizen> 3 </since_tizen>
188         public int BlendFactorDestAlpha
189         {
190             get
191             {
192                 int temp = 0;
193                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendFactorDestAlpha).Get(out temp);
194                 return temp;
195             }
196             set
197             {
198                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendFactorDestAlpha, new Tizen.NUI.PropertyValue(value));
199             }
200         }
201
202         /// <summary>
203         /// Gets and Sets BlendColor.
204         /// </summary>
205         /// <since_tizen> 3 </since_tizen>
206         public Vector4 BlendColor
207         {
208             get
209             {
210                 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
211                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendColor).Get(temp);
212                 return temp;
213             }
214             set
215             {
216                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendColor, new Tizen.NUI.PropertyValue(value));
217             }
218         }
219
220         /// <summary>
221         /// Gets and Sets BlendPreMultipliedAlpha.
222         /// </summary>
223         /// <since_tizen> 3 </since_tizen>
224         public bool BlendPreMultipliedAlpha
225         {
226             get
227             {
228                 bool temp = false;
229                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendPreMultipliedAlpha).Get(out temp);
230                 return temp;
231             }
232             set
233             {
234                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendPreMultipliedAlpha, new Tizen.NUI.PropertyValue(value));
235             }
236         }
237
238         /// <summary>
239         /// Gets and Sets IndexRangeFirst.
240         /// </summary>
241         /// <since_tizen> 3 </since_tizen>
242         public int IndexRangeFirst
243         {
244             get
245             {
246                 int temp = 0;
247                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.IndexRangeFirst).Get(out temp);
248                 return temp;
249             }
250             set
251             {
252                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.IndexRangeFirst, new Tizen.NUI.PropertyValue(value));
253             }
254         }
255
256         /// <summary>
257         /// Gets and Sets IndexRangeCount.
258         /// </summary>
259         /// <since_tizen> 3 </since_tizen>
260         public int IndexRangeCount
261         {
262             get
263             {
264                 int temp = 0;
265                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.IndexRangeCount).Get(out temp);
266                 return temp;
267             }
268             set
269             {
270                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.IndexRangeCount, new Tizen.NUI.PropertyValue(value));
271             }
272         }
273
274         /// <summary>
275         /// Gets and Sets DepthWriteMode.
276         /// </summary>
277         /// <since_tizen> 3 </since_tizen>
278         public int DepthWriteMode
279         {
280             get
281             {
282                 int temp = 0;
283                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.DepthWriteMode).Get(out temp);
284                 return temp;
285             }
286             set
287             {
288                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DepthWriteMode, new Tizen.NUI.PropertyValue(value));
289             }
290         }
291
292         /// <summary>
293         /// Gets and Sets DepthFunction.
294         /// </summary>
295         /// <since_tizen> 3 </since_tizen>
296         public int DepthFunction
297         {
298             get
299             {
300                 int temp = 0;
301                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.DepthFunction).Get(out temp);
302                 return temp;
303             }
304             set
305             {
306                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DepthFunction, new Tizen.NUI.PropertyValue(value));
307             }
308         }
309
310         /// <summary>
311         /// Gets and Sets DepthTestMode.
312         /// </summary>
313         /// <since_tizen> 3 </since_tizen>
314         public int DepthTestMode
315         {
316             get
317             {
318                 int temp = 0;
319                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.DepthTestMode).Get(out temp);
320                 return temp;
321             }
322             set
323             {
324                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DepthTestMode, new Tizen.NUI.PropertyValue(value));
325             }
326         }
327
328         /// <summary>
329         /// Gets and Sets RenderMode.
330         /// </summary>
331         /// <since_tizen> 3 </since_tizen>
332         public int RenderMode
333         {
334             get
335             {
336                 int temp = 0;
337                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.RenderMode).Get(out temp);
338                 return temp;
339             }
340             set
341             {
342                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.RenderMode, new Tizen.NUI.PropertyValue(value));
343             }
344         }
345
346         /// <summary>
347         /// Gets and Sets StencilFunction.
348         /// </summary>
349         /// <since_tizen> 3 </since_tizen>
350         public int StencilFunction
351         {
352             get
353             {
354                 int temp = 0;
355                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.StencilFunction).Get(out temp);
356                 return temp;
357             }
358             set
359             {
360                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.StencilFunction, new Tizen.NUI.PropertyValue(value));
361             }
362         }
363
364         /// <summary>
365         /// Gets and Sets StencilFunctionMask.
366         /// </summary>
367         /// <since_tizen> 3 </since_tizen>
368         public int StencilFunctionMask
369         {
370             get
371             {
372                 int temp = 0;
373                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.StencilFunctionMask).Get(out temp);
374                 return temp;
375             }
376             set
377             {
378                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.StencilFunctionMask, new Tizen.NUI.PropertyValue(value));
379             }
380         }
381
382         /// <summary>
383         /// Gets and Sets StencilFunctionReference.
384         /// </summary>
385         /// <since_tizen> 3 </since_tizen>
386         public int StencilFunctionReference
387         {
388             get
389             {
390                 int temp = 0;
391                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.StencilFunctionReference).Get(out temp);
392                 return temp;
393             }
394             set
395             {
396                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.StencilFunctionReference, new Tizen.NUI.PropertyValue(value));
397             }
398         }
399
400         /// <summary>
401         /// Gets and Sets StencilMask.
402         /// </summary>
403         /// <since_tizen> 3 </since_tizen>
404         public int StencilMask
405         {
406             get
407             {
408                 int temp = 0;
409                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.StencilMask).Get(out temp);
410                 return temp;
411             }
412             set
413             {
414                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.StencilMask, new Tizen.NUI.PropertyValue(value));
415             }
416         }
417
418         /// <summary>
419         /// Gets and Sets StencilOperationOnFail.
420         /// </summary>
421         /// <since_tizen> 3 </since_tizen>
422         public int StencilOperationOnFail
423         {
424             get
425             {
426                 int temp = 0;
427                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.StencilOperationOnFail).Get(out temp);
428                 return temp;
429             }
430             set
431             {
432                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.StencilOperationOnFail, new Tizen.NUI.PropertyValue(value));
433             }
434         }
435
436         /// <summary>
437         /// Gets and Sets StencilOperationOnZFail.
438         /// </summary>
439         /// <since_tizen> 3 </since_tizen>
440         public int StencilOperationOnZFail
441         {
442             get
443             {
444                 int temp = 0;
445                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.StencilOperationOnZFail).Get(out temp);
446                 return temp;
447             }
448             set
449             {
450                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.StencilOperationOnZFail, new Tizen.NUI.PropertyValue(value));
451             }
452         }
453
454         /// <summary>
455         /// Gets and Sets StencilOperationOnZPass property.
456         /// </summary>
457         /// <since_tizen> 3 </since_tizen>
458         public int StencilOperationOnZPass
459         {
460             get
461             {
462                 int temp = 0;
463                 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.StencilOperationOnZPass).Get(out temp);
464                 return temp;
465             }
466             set
467             {
468                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.StencilOperationOnZPass, new Tizen.NUI.PropertyValue(value));
469             }
470         }
471
472         /// <summary>
473         /// Sets the geometry to be used by this renderer.
474         /// </summary>
475         /// <param name="geometry">The geometry to be used by this renderer.</param>
476         /// <since_tizen> 3 </since_tizen>
477         public void SetGeometry(Geometry geometry)
478         {
479             Interop.Renderer.SetGeometry(swigCPtr, Geometry.getCPtr(geometry));
480             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
481         }
482
483         /// <summary>
484         /// Gets the geometry used by this renderer.
485         /// </summary>
486         /// <returns>The geometry used by the renderer.</returns>
487         /// <since_tizen> 3 </since_tizen>
488         public Geometry GetGeometry()
489         {
490             //to fix memory leak issue, match the handle count with native side.
491             System.IntPtr cPtr = Interop.Renderer.GetGeometry(swigCPtr);
492             Geometry ret = this.GetInstanceSafely<Geometry>(cPtr);
493             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
494             return ret;
495         }
496
497         /// <summary>
498         /// Sets effective range of indices to draw from bound index buffer.
499         /// </summary>
500         /// <param name="firstElement">The First element to draw.</param>
501         /// <param name="elementsCount">The number of elements to draw.</param>
502         /// <since_tizen> 3 </since_tizen>
503         public void SetIndexRange(int firstElement, int elementsCount)
504         {
505             Interop.Renderer.SetIndexRange(swigCPtr, firstElement, elementsCount);
506             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
507         }
508
509         /// <summary>
510         /// Sets the texture set to be used by this renderer.
511         /// </summary>
512         /// <param name="textureSet">The texture set to be used by this renderer.</param>
513         /// <since_tizen> 3 </since_tizen>
514         public void SetTextures(TextureSet textureSet)
515         {
516             Interop.Renderer.SetTextures(swigCPtr, TextureSet.getCPtr(textureSet));
517             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
518         }
519
520         /// <summary>
521         /// Gets the texture set used by this renderer.
522         /// </summary>
523         /// <returns>The texture set used by the renderer.</returns>
524         /// <since_tizen> 3 </since_tizen>
525         public TextureSet GetTextures()
526         {
527             //to fix memory leak issue, match the handle count with native side.
528             System.IntPtr cPtr = Interop.Renderer.GetTextures(swigCPtr);
529             HandleRef CPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
530             TextureSet ret = Registry.GetManagedBaseHandleFromNativePtr(CPtr.Handle) as TextureSet;
531             if (cPtr != null && ret == null)
532             {
533                 ret = new TextureSet(cPtr, false);
534                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
535                 return ret;
536             }
537             Interop.BaseHandle.DeleteBaseHandle(CPtr);
538             CPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
539
540             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
541             return ret;
542         }
543
544         /// <summary>
545         /// Sets the shader used by this renderer.
546         /// </summary>
547         /// <param name="shader">The shader to be used by this renderer.</param>
548         /// <since_tizen> 3 </since_tizen>
549         public void SetShader(Shader shader)
550         {
551             Interop.Renderer.SetShader(swigCPtr, Shader.getCPtr(shader));
552             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
553         }
554
555         /// <summary>
556         /// Gets the shader used by this renderer.
557         /// </summary>
558         /// <returns>The shader used by the renderer.</returns>
559         /// <since_tizen> 3 </since_tizen>
560         public Shader GetShader()
561         {
562             //to fix memory leak issue, match the handle count with native side.
563             System.IntPtr cPtr = Interop.Renderer.GetShader(swigCPtr);
564             Shader ret = this.GetInstanceSafely<Shader>(cPtr);
565             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
566             return ret;
567         }
568
569         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Renderer obj)
570         {
571             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
572         }
573
574         internal Renderer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.Renderer.Upcast(cPtr), cMemoryOwn)
575         {
576         }
577
578         /// This will not be public opened.
579         [EditorBrowsable(EditorBrowsableState.Never)]
580         protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
581         {
582             Interop.Renderer.DeleteRenderer(swigCPtr);
583         }
584
585
586         /// <since_tizen> 6.0 </since_tizen>
587         /// This will be changed internal API after ACR done. Before ACR, need to be hidden as inhouse API.
588         [EditorBrowsable(EditorBrowsableState.Never)]
589         public class Ranges
590         {
591             /// <since_tizen> 6.0 </since_tizen>
592             /// This will be changed internal API after ACR done. Before ACR, need to be hidden as inhouse API.
593             [EditorBrowsable(EditorBrowsableState.Never)]
594             public static readonly int BackgroundEffect = Interop.Renderer.RangesBackgroundEffectGet();
595
596             /// <since_tizen> 6.0 </since_tizen>
597             /// This will be changed internal API after ACR done. Before ACR, need to be hidden as inhouse API.
598             [EditorBrowsable(EditorBrowsableState.Never)]
599             public static readonly int BACKGROUND = Interop.Renderer.RangesBackgroundGet();
600
601             /// <since_tizen> 6.0 </since_tizen>
602             /// This will be changed internal API after ACR done. Before ACR, need to be hidden as inhouse API.
603             [EditorBrowsable(EditorBrowsableState.Never)]
604             public static readonly int CONTENT = Interop.Renderer.RangesContentGet();
605
606             /// <since_tizen> 6.0 </since_tizen>
607             /// This will be changed internal API after ACR done. Before ACR, need to be hidden as inhouse API.
608             [EditorBrowsable(EditorBrowsableState.Never)]
609             public static readonly int DECORATION = Interop.Renderer.RangesDecorationGet();
610
611             /// <since_tizen> 6.0 </since_tizen>
612             /// This will be changed internal API after ACR done. Before ACR, need to be hidden as inhouse API.
613             [EditorBrowsable(EditorBrowsableState.Never)]
614             public static readonly int ForegroundEffect = Interop.Renderer.RangesForegroundEffectGet();
615         }
616
617         /// <summary>
618         /// Enumeration for instances of properties belonging to the Renderer class.
619         /// </summary>
620         /// <since_tizen> 3 </since_tizen>
621         [EditorBrowsable(EditorBrowsableState.Never)]
622         [Obsolete("Deprecated in API6; Will be removed in API9.")]
623         public class Property
624         {
625             /// <summary>
626             /// This should be internal, please do not use.
627             /// </summary>
628             /// <since_tizen> 3 </since_tizen>
629             [EditorBrowsable(EditorBrowsableState.Never)]
630             [Obsolete("Deprecated in API6; Will be removed in API9.")]
631             public static readonly int DepthIndex = Interop.Renderer.DepthIndexGet();
632             /// <summary>
633             /// This should be internal, please do not use.
634             /// </summary>
635             /// <since_tizen> 3 </since_tizen>
636             [EditorBrowsable(EditorBrowsableState.Never)]
637             [Obsolete("Deprecated in API6; Will be removed in API9.")]
638             public static readonly int FaceCullingMode = Interop.Renderer.FaceCullingModeGet();
639             /// <summary>
640             /// This should be internal, please do not use.
641             /// </summary>
642             /// <since_tizen> 3 </since_tizen>
643             [EditorBrowsable(EditorBrowsableState.Never)]
644             [Obsolete("Deprecated in API6; Will be removed in API9.")]
645             public static readonly int BlendMode = Interop.Renderer.BlendModeGet();
646             /// <summary>
647             /// This should be internal, please do not use.
648             /// </summary>
649             /// <since_tizen> 3 </since_tizen>
650             [EditorBrowsable(EditorBrowsableState.Never)]
651             [Obsolete("Deprecated in API6; Will be removed in API9.")]
652             public static readonly int BlendEquationRgb = Interop.Renderer.BlendEquationRgbGet();
653             /// <summary>
654             /// This should be internal, please do not use.
655             /// </summary>
656             /// <since_tizen> 3 </since_tizen>
657             [EditorBrowsable(EditorBrowsableState.Never)]
658             [Obsolete("Deprecated in API6; Will be removed in API9.")]
659             public static readonly int BlendEquationAlpha = Interop.Renderer.BlendEquationAlphaGet();
660             /// <summary>
661             /// This should be internal, please do not use.
662             /// </summary>
663             /// <since_tizen> 3 </since_tizen>
664             [EditorBrowsable(EditorBrowsableState.Never)]
665             [Obsolete("Deprecated in API6; Will be removed in API9.")]
666             public static readonly int BlendFactorSrcRgb = Interop.Renderer.BlendFactorSrcRgbGet();
667             /// <summary>
668             /// This should be internal, please do not use.
669             /// </summary>
670             /// <since_tizen> 3 </since_tizen>
671             [EditorBrowsable(EditorBrowsableState.Never)]
672             [Obsolete("Deprecated in API6; Will be removed in API9.")]
673             public static readonly int BlendFactorDestRgb = Interop.Renderer.BlendFactorDestRgbGet();
674             /// <summary>
675             /// This should be internal, please do not use.
676             /// </summary>
677             /// <since_tizen> 3 </since_tizen>
678             [EditorBrowsable(EditorBrowsableState.Never)]
679             [Obsolete("Deprecated in API6; Will be removed in API9.")]
680             public static readonly int BlendFactorSrcAlpha = Interop.Renderer.BlendFactorSrcAlphaGet();
681             /// <summary>
682             /// This should be internal, please do not use.
683             /// </summary>
684             /// <since_tizen> 3 </since_tizen>
685             [EditorBrowsable(EditorBrowsableState.Never)]
686             [Obsolete("Deprecated in API6; Will be removed in API9.")]
687             public static readonly int BlendFactorDestAlpha = Interop.Renderer.BlendFactorDestAlphaGet();
688             /// <summary>
689             /// This should be internal, please do not use.
690             /// </summary>
691             /// <since_tizen> 3 </since_tizen>
692             [EditorBrowsable(EditorBrowsableState.Never)]
693             [Obsolete("Deprecated in API6; Will be removed in API9.")]
694             public static readonly int BlendColor = Interop.Renderer.BlendColorGet();
695             /// <summary>
696             /// This should be internal, please do not use.
697             /// </summary>
698             /// <since_tizen> 3 </since_tizen>
699             [EditorBrowsable(EditorBrowsableState.Never)]
700             [Obsolete("Deprecated in API6; Will be removed in API9.")]
701             public static readonly int BlendPreMultipliedAlpha = Interop.Renderer.BlendPreMultipliedAlphaGet();
702             /// <summary>
703             /// This should be internal, please do not use.
704             /// </summary>
705             /// <since_tizen> 3 </since_tizen>
706             [EditorBrowsable(EditorBrowsableState.Never)]
707             [Obsolete("Deprecated in API6; Will be removed in API9.")]
708             public static readonly int IndexRangeFirst = Interop.Renderer.IndexRangeFirstGet();
709             /// <summary>
710             /// This should be internal, please do not use.
711             /// </summary>
712             /// <since_tizen> 3 </since_tizen>
713             [EditorBrowsable(EditorBrowsableState.Never)]
714             [Obsolete("Deprecated in API6; Will be removed in API9.")]
715             public static readonly int IndexRangeCount = Interop.Renderer.IndexRangeCountGet();
716             /// <summary>
717             /// This should be internal, please do not use.
718             /// </summary>
719             /// <since_tizen> 3 </since_tizen>
720             [EditorBrowsable(EditorBrowsableState.Never)]
721             [Obsolete("Deprecated in API6; Will be removed in API9.")]
722             public static readonly int DepthWriteMode = Interop.Renderer.DepthWriteModeGet();
723             /// <summary>
724             /// This should be internal, please do not use.
725             /// </summary>
726             /// <since_tizen> 3 </since_tizen>
727             [EditorBrowsable(EditorBrowsableState.Never)]
728             [Obsolete("Deprecated in API6; Will be removed in API9.")]
729             public static readonly int DepthFunction = Interop.Renderer.DepthFunctionGet();
730             /// <summary>
731             /// This should be internal, please do not use.
732             /// </summary>
733             /// <since_tizen> 3 </since_tizen>
734             [EditorBrowsable(EditorBrowsableState.Never)]
735             [Obsolete("Deprecated in API6; Will be removed in API9.")]
736             public static readonly int DepthTestMode = Interop.Renderer.DepthTestModeGet();
737             /// <summary>
738             /// This should be internal, please do not use.
739             /// </summary>
740             /// <since_tizen> 3 </since_tizen>
741             [EditorBrowsable(EditorBrowsableState.Never)]
742             [Obsolete("Deprecated in API6; Will be removed in API9.")]
743             public static readonly int RenderMode = Interop.Renderer.RenderModeGet();
744             /// <summary>
745             /// This should be internal, please do not use.
746             /// </summary>
747             /// <since_tizen> 3 </since_tizen>
748             [EditorBrowsable(EditorBrowsableState.Never)]
749             [Obsolete("Deprecated in API6; Will be removed in API9.")]
750             public static readonly int StencilFunction = Interop.Renderer.StencilFunctionGet();
751             /// <summary>
752             /// This should be internal, please do not use.
753             /// </summary>
754             /// <since_tizen> 3 </since_tizen>
755             [EditorBrowsable(EditorBrowsableState.Never)]
756             [Obsolete("Deprecated in API6; Will be removed in API9.")]
757             public static readonly int StencilFunctionMask = Interop.Renderer.StencilFunctionMaskGet();
758             /// <summary>
759             /// This should be internal, please do not use.
760             /// </summary>
761             /// <since_tizen> 3 </since_tizen>
762             [EditorBrowsable(EditorBrowsableState.Never)]
763             [Obsolete("Deprecated in API6; Will be removed in API9.")]
764             public static readonly int StencilFunctionReference = Interop.Renderer.StencilFunctionReferenceGet();
765             /// <summary>
766             /// This should be internal, please do not use.
767             /// </summary>
768             /// <since_tizen> 3 </since_tizen>
769             [EditorBrowsable(EditorBrowsableState.Never)]
770             [Obsolete("Deprecated in API6; Will be removed in API9.")]
771             public static readonly int StencilMask = Interop.Renderer.StencilMaskGet();
772             /// <summary>
773             /// This should be internal, please do not use.
774             /// </summary>
775             /// <since_tizen> 3 </since_tizen>
776             [EditorBrowsable(EditorBrowsableState.Never)]
777             [Obsolete("Deprecated in API6; Will be removed in API9.")]
778             public static readonly int StencilOperationOnFail = Interop.Renderer.StencilOperationOnFailGet();
779             /// <summary>
780             /// This should be internal, please do not use.
781             /// </summary>
782             /// <since_tizen> 3 </since_tizen>
783             [EditorBrowsable(EditorBrowsableState.Never)]
784             [Obsolete("Deprecated in API6; Will be removed in API9.")]
785             public static readonly int StencilOperationOnZFail = Interop.Renderer.StencilOperationOnZFailGet();
786             /// <summary>
787             /// This should be internal, please do not use.
788             /// </summary>
789             /// <since_tizen> 3 </since_tizen>
790             [EditorBrowsable(EditorBrowsableState.Never)]
791             [Obsolete("Deprecated in API6; Will be removed in API9.")]
792             public static readonly int StencilOperationOnZPass = Interop.Renderer.StencilOperationOnZPassGet();
793         }
794     }
795 }