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