[NUI] Clean NUI codes from Adaptor.cs to Window.cs (#652)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Renderer.cs
1 /*
2  * Copyright(c) 2017 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.Runtime.InteropServices;
19
20 namespace Tizen.NUI
21 {
22     /// <summary>
23     /// Renderer is a handle to an object used to show content by combining a Geometry, a TextureSet and a shader.
24     /// </summary>
25     /// <since_tizen> 3 </since_tizen>
26     public class Renderer : Animatable
27     {
28         private global::System.Runtime.InteropServices.HandleRef swigCPtr;
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(NDalicPINVOKE.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.DEPTH_INDEX).Get(out temp);
50                 return temp;
51             }
52             set
53             {
54                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_INDEX, 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.FACE_CULLING_MODE).Get(out temp);
68                 return temp;
69             }
70             set
71             {
72                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.FACE_CULLING_MODE, 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.BLEND_MODE).Get(out temp);
86                 return temp;
87             }
88             set
89             {
90                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_MODE, 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.BLEND_EQUATION_RGB).Get(out temp);
104                 return temp;
105             }
106             set
107             {
108                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_EQUATION_RGB, 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.BLEND_EQUATION_ALPHA).Get(out temp);
122                 return temp;
123             }
124             set
125             {
126                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_EQUATION_ALPHA, 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.BLEND_FACTOR_SRC_RGB).Get(out temp);
140                 return temp;
141             }
142             set
143             {
144                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_SRC_RGB, 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.BLEND_FACTOR_DEST_RGB).Get(out temp);
158                 return temp;
159             }
160             set
161             {
162                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_DEST_RGB, 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.BLEND_FACTOR_SRC_ALPHA).Get(out temp);
176                 return temp;
177             }
178             set
179             {
180                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_SRC_ALPHA, 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.BLEND_FACTOR_DEST_ALPHA).Get(out temp);
194                 return temp;
195             }
196             set
197             {
198                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_FACTOR_DEST_ALPHA, 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.BLEND_COLOR).Get(temp);
212                 return temp;
213             }
214             set
215             {
216                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_COLOR, 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.BLEND_PRE_MULTIPLIED_ALPHA).Get(out temp);
230                 return temp;
231             }
232             set
233             {
234                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BLEND_PRE_MULTIPLIED_ALPHA, 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.INDEX_RANGE_FIRST).Get(out temp);
248                 return temp;
249             }
250             set
251             {
252                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.INDEX_RANGE_FIRST, 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.INDEX_RANGE_COUNT).Get(out temp);
266                 return temp;
267             }
268             set
269             {
270                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.INDEX_RANGE_COUNT, 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.DEPTH_WRITE_MODE).Get(out temp);
284                 return temp;
285             }
286             set
287             {
288                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_WRITE_MODE, 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.DEPTH_FUNCTION).Get(out temp);
302                 return temp;
303             }
304             set
305             {
306                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_FUNCTION, 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.DEPTH_TEST_MODE).Get(out temp);
320                 return temp;
321             }
322             set
323             {
324                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DEPTH_TEST_MODE, 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.RENDER_MODE).Get(out temp);
338                 return temp;
339             }
340             set
341             {
342                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.RENDER_MODE, 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.STENCIL_FUNCTION).Get(out temp);
356                 return temp;
357             }
358             set
359             {
360                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION, 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.STENCIL_FUNCTION_MASK).Get(out temp);
374                 return temp;
375             }
376             set
377             {
378                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION_MASK, 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.STENCIL_FUNCTION_REFERENCE).Get(out temp);
392                 return temp;
393             }
394             set
395             {
396                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_FUNCTION_REFERENCE, 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.STENCIL_MASK).Get(out temp);
410                 return temp;
411             }
412             set
413             {
414                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_MASK, 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.STENCIL_OPERATION_ON_FAIL).Get(out temp);
428                 return temp;
429             }
430             set
431             {
432                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_FAIL, 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.STENCIL_OPERATION_ON_Z_FAIL).Get(out temp);
446                 return temp;
447             }
448             set
449             {
450                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_Z_FAIL, 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.STENCIL_OPERATION_ON_Z_PASS).Get(out temp);
464                 return temp;
465             }
466             set
467             {
468                 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.STENCIL_OPERATION_ON_Z_PASS, 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             NDalicPINVOKE.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 = NDalicPINVOKE.Renderer_GetGeometry(swigCPtr);
492             HandleRef CPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
493             Geometry ret = Registry.GetManagedBaseHandleFromNativePtr(CPtr.Handle) as Geometry;
494             NDalicPINVOKE.delete_BaseHandle(CPtr);
495             CPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
496
497             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
498             return ret;
499         }
500
501         /// <summary>
502         /// Sets effective range of indices to draw from bound index buffer.
503         /// </summary>
504         /// <param name="firstElement">The First element to draw.</param>
505         /// <param name="elementsCount">The number of elements to draw.</param>
506         /// <since_tizen> 3 </since_tizen>
507         public void SetIndexRange(int firstElement, int elementsCount)
508         {
509             NDalicPINVOKE.Renderer_SetIndexRange(swigCPtr, firstElement, elementsCount);
510             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
511         }
512
513         /// <summary>
514         /// Sets the texture set to be used by this renderer.
515         /// </summary>
516         /// <param name="textureSet">The texture set to be used by this renderer.</param>
517         /// <since_tizen> 3 </since_tizen>
518         public void SetTextures(TextureSet textureSet)
519         {
520             NDalicPINVOKE.Renderer_SetTextures(swigCPtr, TextureSet.getCPtr(textureSet));
521             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
522         }
523
524         /// <summary>
525         /// Gets the texture set used by this renderer.
526         /// </summary>
527         /// <returns>The texture set used by the renderer.</returns>
528         /// <since_tizen> 3 </since_tizen>
529         public TextureSet GetTextures()
530         {
531             //to fix memory leak issue, match the handle count with native side.
532             System.IntPtr cPtr = NDalicPINVOKE.Renderer_GetTextures(swigCPtr);
533             HandleRef CPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
534             TextureSet ret = Registry.GetManagedBaseHandleFromNativePtr(CPtr.Handle) as TextureSet;
535             NDalicPINVOKE.delete_BaseHandle(CPtr);
536             CPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
537
538             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
539             return ret;
540         }
541
542         /// <summary>
543         /// Sets the shader used by this renderer.
544         /// </summary>
545         /// <param name="shader">The shader to be used by this renderer.</param>
546         /// <since_tizen> 3 </since_tizen>
547         public void SetShader(Shader shader)
548         {
549             NDalicPINVOKE.Renderer_SetShader(swigCPtr, Shader.getCPtr(shader));
550             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
551         }
552
553         /// <summary>
554         /// Gets the shader used by this renderer.
555         /// </summary>
556         /// <returns>The shader used by the renderer.</returns>
557         /// <since_tizen> 3 </since_tizen>
558         public Shader GetShader()
559         {
560             //to fix memory leak issue, match the handle count with native side.
561             System.IntPtr cPtr = NDalicPINVOKE.Renderer_GetShader(swigCPtr);
562             HandleRef CPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
563             Shader ret = Registry.GetManagedBaseHandleFromNativePtr(CPtr.Handle) as Shader;
564             NDalicPINVOKE.delete_BaseHandle(CPtr);
565             CPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
566
567             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
568             return ret;
569         }
570
571         internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Renderer obj)
572         {
573             return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
574         }
575
576         internal Renderer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(NDalicPINVOKE.Renderer_SWIGUpcast(cPtr), cMemoryOwn)
577         {
578             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
579         }
580
581         /// <summary>
582         /// Dispose.
583         /// </summary>
584         /// <since_tizen> 3 </since_tizen>
585         protected override void Dispose(DisposeTypes type)
586         {
587             if (disposed)
588             {
589                 return;
590             }
591
592             if (type == DisposeTypes.Explicit)
593             {
594                 //Called by User
595                 //Release your own managed resources here.
596                 //You should release all of your own disposable objects here.
597
598             }
599
600             //Release your own unmanaged resources here.
601             //You should not access any managed member here except static instance.
602             //because the execution order of Finalizes is non-deterministic.
603
604
605             if (swigCPtr.Handle != global::System.IntPtr.Zero)
606             {
607                 if (swigCMemOwn)
608                 {
609                     swigCMemOwn = false;
610                     NDalicPINVOKE.delete_Renderer(swigCPtr);
611                 }
612                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
613             }
614
615             base.Dispose(type);
616         }
617
618         /// <summary>
619         /// Enumeration for instances of properties belonging to the Renderer class.
620         /// </summary>
621         /// <since_tizen> 3 </since_tizen>
622         public class Property
623         {
624             /// <summary>
625             /// This should be internal, please do not use.
626             /// </summary>
627             /// <since_tizen> 3 </since_tizen>
628             public static readonly int DEPTH_INDEX = NDalicPINVOKE.Renderer_Property_DEPTH_INDEX_get();
629             /// <summary>
630             /// This should be internal, please do not use.
631             /// </summary>
632             /// <since_tizen> 3 </since_tizen>
633             public static readonly int FACE_CULLING_MODE = NDalicPINVOKE.Renderer_Property_FACE_CULLING_MODE_get();
634             /// <summary>
635             /// This should be internal, please do not use.
636             /// </summary>
637             /// <since_tizen> 3 </since_tizen>
638             public static readonly int BLEND_MODE = NDalicPINVOKE.Renderer_Property_BLEND_MODE_get();
639             /// <summary>
640             /// This should be internal, please do not use.
641             /// </summary>
642             /// <since_tizen> 3 </since_tizen>
643             public static readonly int BLEND_EQUATION_RGB = NDalicPINVOKE.Renderer_Property_BLEND_EQUATION_RGB_get();
644             /// <summary>
645             /// This should be internal, please do not use.
646             /// </summary>
647             /// <since_tizen> 3 </since_tizen>
648             public static readonly int BLEND_EQUATION_ALPHA = NDalicPINVOKE.Renderer_Property_BLEND_EQUATION_ALPHA_get();
649             /// <summary>
650             /// This should be internal, please do not use.
651             /// </summary>
652             /// <since_tizen> 3 </since_tizen>
653             public static readonly int BLEND_FACTOR_SRC_RGB = NDalicPINVOKE.Renderer_Property_BLEND_FACTOR_SRC_RGB_get();
654             /// <summary>
655             /// This should be internal, please do not use.
656             /// </summary>
657             /// <since_tizen> 3 </since_tizen>
658             public static readonly int BLEND_FACTOR_DEST_RGB = NDalicPINVOKE.Renderer_Property_BLEND_FACTOR_DEST_RGB_get();
659             /// <summary>
660             /// This should be internal, please do not use.
661             /// </summary>
662             /// <since_tizen> 3 </since_tizen>
663             public static readonly int BLEND_FACTOR_SRC_ALPHA = NDalicPINVOKE.Renderer_Property_BLEND_FACTOR_SRC_ALPHA_get();
664             /// <summary>
665             /// This should be internal, please do not use.
666             /// </summary>
667             /// <since_tizen> 3 </since_tizen>
668             public static readonly int BLEND_FACTOR_DEST_ALPHA = NDalicPINVOKE.Renderer_Property_BLEND_FACTOR_DEST_ALPHA_get();
669             /// <summary>
670             /// This should be internal, please do not use.
671             /// </summary>
672             /// <since_tizen> 3 </since_tizen>
673             public static readonly int BLEND_COLOR = NDalicPINVOKE.Renderer_Property_BLEND_COLOR_get();
674             /// <summary>
675             /// This should be internal, please do not use.
676             /// </summary>
677             /// <since_tizen> 3 </since_tizen>
678             public static readonly int BLEND_PRE_MULTIPLIED_ALPHA = NDalicPINVOKE.Renderer_Property_BLEND_PRE_MULTIPLIED_ALPHA_get();
679             /// <summary>
680             /// This should be internal, please do not use.
681             /// </summary>
682             /// <since_tizen> 3 </since_tizen>
683             public static readonly int INDEX_RANGE_FIRST = NDalicPINVOKE.Renderer_Property_INDEX_RANGE_FIRST_get();
684             /// <summary>
685             /// This should be internal, please do not use.
686             /// </summary>
687             /// <since_tizen> 3 </since_tizen>
688             public static readonly int INDEX_RANGE_COUNT = NDalicPINVOKE.Renderer_Property_INDEX_RANGE_COUNT_get();
689             /// <summary>
690             /// This should be internal, please do not use.
691             /// </summary>
692             /// <since_tizen> 3 </since_tizen>
693             public static readonly int DEPTH_WRITE_MODE = NDalicPINVOKE.Renderer_Property_DEPTH_WRITE_MODE_get();
694             /// <summary>
695             /// This should be internal, please do not use.
696             /// </summary>
697             /// <since_tizen> 3 </since_tizen>
698             public static readonly int DEPTH_FUNCTION = NDalicPINVOKE.Renderer_Property_DEPTH_FUNCTION_get();
699             /// <summary>
700             /// This should be internal, please do not use.
701             /// </summary>
702             /// <since_tizen> 3 </since_tizen>
703             public static readonly int DEPTH_TEST_MODE = NDalicPINVOKE.Renderer_Property_DEPTH_TEST_MODE_get();
704             /// <summary>
705             /// This should be internal, please do not use.
706             /// </summary>
707             /// <since_tizen> 3 </since_tizen>
708             public static readonly int RENDER_MODE = NDalicPINVOKE.Renderer_Property_RENDER_MODE_get();
709             /// <summary>
710             /// This should be internal, please do not use.
711             /// </summary>
712             /// <since_tizen> 3 </since_tizen>
713             public static readonly int STENCIL_FUNCTION = NDalicPINVOKE.Renderer_Property_STENCIL_FUNCTION_get();
714             /// <summary>
715             /// This should be internal, please do not use.
716             /// </summary>
717             /// <since_tizen> 3 </since_tizen>
718             public static readonly int STENCIL_FUNCTION_MASK = NDalicPINVOKE.Renderer_Property_STENCIL_FUNCTION_MASK_get();
719             /// <summary>
720             /// This should be internal, please do not use.
721             /// </summary>
722             /// <since_tizen> 3 </since_tizen>
723             public static readonly int STENCIL_FUNCTION_REFERENCE = NDalicPINVOKE.Renderer_Property_STENCIL_FUNCTION_REFERENCE_get();
724             /// <summary>
725             /// This should be internal, please do not use.
726             /// </summary>
727             /// <since_tizen> 3 </since_tizen>
728             public static readonly int STENCIL_MASK = NDalicPINVOKE.Renderer_Property_STENCIL_MASK_get();
729             /// <summary>
730             /// This should be internal, please do not use.
731             /// </summary>
732             /// <since_tizen> 3 </since_tizen>
733             public static readonly int STENCIL_OPERATION_ON_FAIL = NDalicPINVOKE.Renderer_Property_STENCIL_OPERATION_ON_FAIL_get();
734             /// <summary>
735             /// This should be internal, please do not use.
736             /// </summary>
737             /// <since_tizen> 3 </since_tizen>
738             public static readonly int STENCIL_OPERATION_ON_Z_FAIL = NDalicPINVOKE.Renderer_Property_STENCIL_OPERATION_ON_Z_FAIL_get();
739             /// <summary>
740             /// This should be internal, please do not use.
741             /// </summary>
742             /// <since_tizen> 3 </since_tizen>
743             public static readonly int STENCIL_OPERATION_ON_Z_PASS = NDalicPINVOKE.Renderer_Property_STENCIL_OPERATION_ON_Z_PASS_get();
744         }
745     }
746 }