2 * Copyright(c) 2019 Samsung Electronics Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 using System.ComponentModel;
19 using System.Diagnostics.CodeAnalysis;
20 using System.Runtime.InteropServices;
25 /// Renderer is a handle to an object used to show content by combining a Geometry, a TextureSet and a shader.
27 /// <since_tizen> 3 </since_tizen>
28 public class Renderer : Animatable
32 /// Create an instance of Renderer.
34 /// <since_tizen> 3 </since_tizen>
35 public Renderer(Geometry geometry, Shader shader) : this(Interop.Renderer.New(Geometry.getCPtr(geometry), Shader.getCPtr(shader)), true)
37 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
42 /// Gets and Sets DepthIndex property.
44 /// <since_tizen> 3 </since_tizen>
50 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.DepthIndex).Get(out temp);
55 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.DepthIndex, new Tizen.NUI.PropertyValue(value));
60 /// Gets and Sets FaceCullingMode.
62 /// <since_tizen> 3 </since_tizen>
63 public int FaceCullingMode
68 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.FaceCullingMode).Get(out temp);
73 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.FaceCullingMode, new Tizen.NUI.PropertyValue(value));
78 /// Gets and Sets BlendMode.
80 /// <since_tizen> 3 </since_tizen>
86 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.BlendMode).Get(out temp);
91 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.BlendMode, new Tizen.NUI.PropertyValue(value));
96 /// Gets and Sets BlendEquationRgb.
98 /// <since_tizen> 3 </since_tizen>
99 public int BlendEquationRgb
104 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.BlendEquationRgb).Get(out temp);
109 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.BlendEquationRgb, new Tizen.NUI.PropertyValue(value));
114 /// Gets and Sets BlendEquationAlpha.
116 /// <since_tizen> 3 </since_tizen>
117 public int BlendEquationAlpha
122 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.BlendEquationAlpha).Get(out temp);
127 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.BlendEquationAlpha, new Tizen.NUI.PropertyValue(value));
132 /// Gets and Sets BlendFactorSrcRgb.
134 /// <since_tizen> 3 </since_tizen>
135 public int BlendFactorSrcRgb
140 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.BlendFactorSrcRgb).Get(out temp);
145 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.BlendFactorSrcRgb, new Tizen.NUI.PropertyValue(value));
150 /// Gets and Sets BlendFactorDestRgb.
152 /// <since_tizen> 3 </since_tizen>
153 public int BlendFactorDestRgb
158 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.BlendFactorDestRgb).Get(out temp);
163 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.BlendFactorDestRgb, new Tizen.NUI.PropertyValue(value));
168 /// Gets and Sets BlendFactorSrcAlpha.
170 /// <since_tizen> 3 </since_tizen>
171 public int BlendFactorSrcAlpha
176 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.BlendFactorSrcAlpha).Get(out temp);
181 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.BlendFactorSrcAlpha, new Tizen.NUI.PropertyValue(value));
186 /// Gets and Sets BlendFactorDestAlpha.
188 /// <since_tizen> 3 </since_tizen>
189 public int BlendFactorDestAlpha
194 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.BlendFactorDestAlpha).Get(out temp);
199 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.BlendFactorDestAlpha, new Tizen.NUI.PropertyValue(value));
204 /// Gets and Sets BlendColor.
206 /// <since_tizen> 3 </since_tizen>
207 public Vector4 BlendColor
211 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
212 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.BlendColor).Get(temp);
217 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.BlendColor, new Tizen.NUI.PropertyValue(value));
222 /// Gets and Sets BlendPreMultipliedAlpha.
224 /// <since_tizen> 3 </since_tizen>
225 public bool BlendPreMultipliedAlpha
230 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.BlendPreMultipliedAlpha).Get(out temp);
235 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.BlendPreMultipliedAlpha, new Tizen.NUI.PropertyValue(value));
240 /// Gets and Sets IndexRangeFirst.
242 /// <since_tizen> 3 </since_tizen>
243 public int IndexRangeFirst
248 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.IndexRangeFirst).Get(out temp);
253 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.IndexRangeFirst, new Tizen.NUI.PropertyValue(value));
258 /// Gets and Sets IndexRangeCount.
260 /// <since_tizen> 3 </since_tizen>
261 public int IndexRangeCount
266 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.IndexRangeCount).Get(out temp);
271 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.IndexRangeCount, new Tizen.NUI.PropertyValue(value));
276 /// Gets and Sets DepthWriteMode.
278 /// <since_tizen> 3 </since_tizen>
279 public int DepthWriteMode
284 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.DepthWriteMode).Get(out temp);
289 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.DepthWriteMode, new Tizen.NUI.PropertyValue(value));
294 /// Gets and Sets DepthFunction.
296 /// <since_tizen> 3 </since_tizen>
297 public int DepthFunction
302 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.DepthFunction).Get(out temp);
307 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.DepthFunction, new Tizen.NUI.PropertyValue(value));
312 /// Gets and Sets DepthTestMode.
314 /// <since_tizen> 3 </since_tizen>
315 public int DepthTestMode
320 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.DepthTestMode).Get(out temp);
325 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.DepthTestMode, new Tizen.NUI.PropertyValue(value));
330 /// Gets and Sets RenderMode.
332 /// <since_tizen> 3 </since_tizen>
333 public int RenderMode
338 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.RenderMode).Get(out temp);
343 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.RenderMode, new Tizen.NUI.PropertyValue(value));
348 /// Gets and Sets StencilFunction.
350 /// <since_tizen> 3 </since_tizen>
351 public int StencilFunction
356 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.StencilFunction).Get(out temp);
361 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.StencilFunction, new Tizen.NUI.PropertyValue(value));
366 /// Gets and Sets StencilFunctionMask.
368 /// <since_tizen> 3 </since_tizen>
369 public int StencilFunctionMask
374 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.StencilFunctionMask).Get(out temp);
379 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.StencilFunctionMask, new Tizen.NUI.PropertyValue(value));
384 /// Gets and Sets StencilFunctionReference.
386 /// <since_tizen> 3 </since_tizen>
387 public int StencilFunctionReference
392 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.StencilFunctionReference).Get(out temp);
397 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.StencilFunctionReference, new Tizen.NUI.PropertyValue(value));
402 /// Gets and Sets StencilMask.
404 /// <since_tizen> 3 </since_tizen>
405 public int StencilMask
410 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.StencilMask).Get(out temp);
415 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.StencilMask, new Tizen.NUI.PropertyValue(value));
420 /// Gets and Sets StencilOperationOnFail.
422 /// <since_tizen> 3 </since_tizen>
423 public int StencilOperationOnFail
428 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.StencilOperationOnFail).Get(out temp);
433 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.StencilOperationOnFail, new Tizen.NUI.PropertyValue(value));
438 /// Gets and Sets StencilOperationOnZFail.
440 /// <since_tizen> 3 </since_tizen>
441 public int StencilOperationOnZFail
446 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.StencilOperationOnZFail).Get(out temp);
451 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.StencilOperationOnZFail, new Tizen.NUI.PropertyValue(value));
456 /// Gets and Sets StencilOperationOnZPass property.
458 /// <since_tizen> 3 </since_tizen>
459 public int StencilOperationOnZPass
464 Tizen.NUI.Object.GetProperty(SwigCPtr, Renderer.Property.StencilOperationOnZPass).Get(out temp);
469 Tizen.NUI.Object.SetProperty(SwigCPtr, Renderer.Property.StencilOperationOnZPass, new Tizen.NUI.PropertyValue(value));
474 /// Sets the geometry to be used by this renderer.
476 /// <param name="geometry">The geometry to be used by this renderer.</param>
477 /// <since_tizen> 3 </since_tizen>
478 public void SetGeometry(Geometry geometry)
480 Interop.Renderer.SetGeometry(SwigCPtr, Geometry.getCPtr(geometry));
481 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
485 /// Gets the geometry used by this renderer.
487 /// <returns>The geometry used by the renderer.</returns>
488 /// <since_tizen> 3 </since_tizen>
489 public Geometry GetGeometry()
491 //to fix memory leak issue, match the handle count with native side.
492 System.IntPtr cPtr = Interop.Renderer.GetGeometry(SwigCPtr);
493 Geometry ret = this.GetInstanceSafely<Geometry>(cPtr);
494 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
499 /// Sets effective range of indices to draw from bound index buffer.
501 /// <param name="firstElement">The First element to draw.</param>
502 /// <param name="elementsCount">The number of elements to draw.</param>
503 /// <since_tizen> 3 </since_tizen>
504 public void SetIndexRange(int firstElement, int elementsCount)
506 Interop.Renderer.SetIndexRange(SwigCPtr, firstElement, elementsCount);
507 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
511 /// Sets the texture set to be used by this renderer.
513 /// <param name="textureSet">The texture set to be used by this renderer.</param>
514 /// <since_tizen> 3 </since_tizen>
515 public void SetTextures(TextureSet textureSet)
517 Interop.Renderer.SetTextures(SwigCPtr, TextureSet.getCPtr(textureSet));
518 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
522 /// Gets the texture set used by this renderer.
524 /// <returns>The texture set used by the renderer.</returns>
525 /// <since_tizen> 3 </since_tizen>
526 public TextureSet GetTextures()
528 //to fix memory leak issue, match the handle count with native side.
529 System.IntPtr cPtr = Interop.Renderer.GetTextures(SwigCPtr);
530 HandleRef CPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
531 TextureSet ret = Registry.GetManagedBaseHandleFromNativePtr(CPtr.Handle) as TextureSet;
532 if (cPtr != null && ret == null)
534 ret = new TextureSet(cPtr, false);
535 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
538 Interop.BaseHandle.DeleteBaseHandle(CPtr);
539 CPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
541 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
546 /// Sets the shader used by this renderer.
548 /// <param name="shader">The shader to be used by this renderer.</param>
549 /// <since_tizen> 3 </since_tizen>
550 public void SetShader(Shader shader)
552 Interop.Renderer.SetShader(SwigCPtr, Shader.getCPtr(shader));
553 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
557 /// Gets the shader used by this renderer.
559 /// <returns>The shader used by the renderer.</returns>
560 /// <since_tizen> 3 </since_tizen>
561 public Shader GetShader()
563 //to fix memory leak issue, match the handle count with native side.
564 System.IntPtr cPtr = Interop.Renderer.GetShader(SwigCPtr);
565 Shader ret = this.GetInstanceSafely<Shader>(cPtr);
566 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
570 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Renderer obj)
572 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.SwigCPtr;
575 internal Renderer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.Renderer.Upcast(cPtr), cMemoryOwn)
579 /// This will not be public opened.
580 [EditorBrowsable(EditorBrowsableState.Never)]
581 protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
583 Interop.Renderer.DeleteRenderer(swigCPtr);
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 sealed class Ranges
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();
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();
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();
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();
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();
618 /// Enumeration for instances of properties belonging to the Renderer class.
620 /// <since_tizen> 3 </since_tizen>
621 [EditorBrowsable(EditorBrowsableState.Never)]
622 [Obsolete("Deprecated in API6; Will be removed in API9.")]
623 #pragma warning disable CA1716, CA1052, CA1034 // Identifiers should not match keywords
624 public class Property
625 #pragma warning restore CA1716, CA1052, CA1034 // Identifiers should not match keywords
628 /// This should be internal, please do not use.
630 /// <since_tizen> 3 </since_tizen>
631 [EditorBrowsable(EditorBrowsableState.Never)]
632 [Obsolete("Deprecated in API6; Will be removed in API9.")]
633 public static readonly int DepthIndex = Interop.Renderer.DepthIndexGet();
635 /// This should be internal, please do not use.
637 /// <since_tizen> 3 </since_tizen>
638 [EditorBrowsable(EditorBrowsableState.Never)]
639 [Obsolete("Deprecated in API6; Will be removed in API9.")]
640 public static readonly int FaceCullingMode = Interop.Renderer.FaceCullingModeGet();
642 /// This should be internal, please do not use.
644 /// <since_tizen> 3 </since_tizen>
645 [EditorBrowsable(EditorBrowsableState.Never)]
646 [Obsolete("Deprecated in API6; Will be removed in API9.")]
647 public static readonly int BlendMode = Interop.Renderer.BlendModeGet();
649 /// This should be internal, please do not use.
651 /// <since_tizen> 3 </since_tizen>
652 [EditorBrowsable(EditorBrowsableState.Never)]
653 [Obsolete("Deprecated in API6; Will be removed in API9.")]
654 public static readonly int BlendEquationRgb = Interop.Renderer.BlendEquationRgbGet();
656 /// This should be internal, please do not use.
658 /// <since_tizen> 3 </since_tizen>
659 [EditorBrowsable(EditorBrowsableState.Never)]
660 [Obsolete("Deprecated in API6; Will be removed in API9.")]
661 public static readonly int BlendEquationAlpha = Interop.Renderer.BlendEquationAlphaGet();
663 /// This should be internal, please do not use.
665 /// <since_tizen> 3 </since_tizen>
666 [EditorBrowsable(EditorBrowsableState.Never)]
667 [Obsolete("Deprecated in API6; Will be removed in API9.")]
668 public static readonly int BlendFactorSrcRgb = Interop.Renderer.BlendFactorSrcRgbGet();
670 /// This should be internal, please do not use.
672 /// <since_tizen> 3 </since_tizen>
673 [EditorBrowsable(EditorBrowsableState.Never)]
674 [Obsolete("Deprecated in API6; Will be removed in API9.")]
675 public static readonly int BlendFactorDestRgb = Interop.Renderer.BlendFactorDestRgbGet();
677 /// This should be internal, please do not use.
679 /// <since_tizen> 3 </since_tizen>
680 [EditorBrowsable(EditorBrowsableState.Never)]
681 [Obsolete("Deprecated in API6; Will be removed in API9.")]
682 public static readonly int BlendFactorSrcAlpha = Interop.Renderer.BlendFactorSrcAlphaGet();
684 /// This should be internal, please do not use.
686 /// <since_tizen> 3 </since_tizen>
687 [EditorBrowsable(EditorBrowsableState.Never)]
688 [Obsolete("Deprecated in API6; Will be removed in API9.")]
689 public static readonly int BlendFactorDestAlpha = Interop.Renderer.BlendFactorDestAlphaGet();
691 /// This should be internal, please do not use.
693 /// <since_tizen> 3 </since_tizen>
694 [EditorBrowsable(EditorBrowsableState.Never)]
695 [Obsolete("Deprecated in API6; Will be removed in API9.")]
696 public static readonly int BlendColor = Interop.Renderer.BlendColorGet();
698 /// This should be internal, please do not use.
700 /// <since_tizen> 3 </since_tizen>
701 [EditorBrowsable(EditorBrowsableState.Never)]
702 [Obsolete("Deprecated in API6; Will be removed in API9.")]
703 public static readonly int BlendPreMultipliedAlpha = Interop.Renderer.BlendPreMultipliedAlphaGet();
705 /// This should be internal, please do not use.
707 /// <since_tizen> 3 </since_tizen>
708 [EditorBrowsable(EditorBrowsableState.Never)]
709 [Obsolete("Deprecated in API6; Will be removed in API9.")]
710 public static readonly int IndexRangeFirst = Interop.Renderer.IndexRangeFirstGet();
712 /// This should be internal, please do not use.
714 /// <since_tizen> 3 </since_tizen>
715 [EditorBrowsable(EditorBrowsableState.Never)]
716 [Obsolete("Deprecated in API6; Will be removed in API9.")]
717 public static readonly int IndexRangeCount = Interop.Renderer.IndexRangeCountGet();
719 /// This should be internal, please do not use.
721 /// <since_tizen> 3 </since_tizen>
722 [EditorBrowsable(EditorBrowsableState.Never)]
723 [Obsolete("Deprecated in API6; Will be removed in API9.")]
724 public static readonly int DepthWriteMode = Interop.Renderer.DepthWriteModeGet();
726 /// This should be internal, please do not use.
728 /// <since_tizen> 3 </since_tizen>
729 [EditorBrowsable(EditorBrowsableState.Never)]
730 [Obsolete("Deprecated in API6; Will be removed in API9.")]
731 public static readonly int DepthFunction = Interop.Renderer.DepthFunctionGet();
733 /// This should be internal, please do not use.
735 /// <since_tizen> 3 </since_tizen>
736 [EditorBrowsable(EditorBrowsableState.Never)]
737 [Obsolete("Deprecated in API6; Will be removed in API9.")]
738 public static readonly int DepthTestMode = Interop.Renderer.DepthTestModeGet();
740 /// This should be internal, please do not use.
742 /// <since_tizen> 3 </since_tizen>
743 [EditorBrowsable(EditorBrowsableState.Never)]
744 [Obsolete("Deprecated in API6; Will be removed in API9.")]
745 public static readonly int RenderMode = Interop.Renderer.RenderModeGet();
747 /// This should be internal, please do not use.
749 /// <since_tizen> 3 </since_tizen>
750 [EditorBrowsable(EditorBrowsableState.Never)]
751 [Obsolete("Deprecated in API6; Will be removed in API9.")]
752 public static readonly int StencilFunction = Interop.Renderer.StencilFunctionGet();
754 /// This should be internal, please do not use.
756 /// <since_tizen> 3 </since_tizen>
757 [EditorBrowsable(EditorBrowsableState.Never)]
758 [Obsolete("Deprecated in API6; Will be removed in API9.")]
759 public static readonly int StencilFunctionMask = Interop.Renderer.StencilFunctionMaskGet();
761 /// This should be internal, please do not use.
763 /// <since_tizen> 3 </since_tizen>
764 [EditorBrowsable(EditorBrowsableState.Never)]
765 [Obsolete("Deprecated in API6; Will be removed in API9.")]
766 public static readonly int StencilFunctionReference = Interop.Renderer.StencilFunctionReferenceGet();
768 /// This should be internal, please do not use.
770 /// <since_tizen> 3 </since_tizen>
771 [EditorBrowsable(EditorBrowsableState.Never)]
772 [Obsolete("Deprecated in API6; Will be removed in API9.")]
773 public static readonly int StencilMask = Interop.Renderer.StencilMaskGet();
775 /// This should be internal, please do not use.
777 /// <since_tizen> 3 </since_tizen>
778 [EditorBrowsable(EditorBrowsableState.Never)]
779 [Obsolete("Deprecated in API6; Will be removed in API9.")]
780 public static readonly int StencilOperationOnFail = Interop.Renderer.StencilOperationOnFailGet();
782 /// This should be internal, please do not use.
784 /// <since_tizen> 3 </since_tizen>
785 [EditorBrowsable(EditorBrowsableState.Never)]
786 [Obsolete("Deprecated in API6; Will be removed in API9.")]
787 public static readonly int StencilOperationOnZFail = Interop.Renderer.StencilOperationOnZFailGet();
789 /// This should be internal, please do not use.
791 /// <since_tizen> 3 </since_tizen>
792 [EditorBrowsable(EditorBrowsableState.Never)]
793 [Obsolete("Deprecated in API6; Will be removed in API9.")]
794 public static readonly int StencilOperationOnZPass = Interop.Renderer.StencilOperationOnZPassGet();