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.Runtime.InteropServices;
24 /// Renderer is a handle to an object used to show content by combining a Geometry, a TextureSet and a shader.
26 /// <since_tizen> 3 </since_tizen>
27 public class Renderer : Animatable
31 /// Create an instance of Renderer.
33 /// <since_tizen> 3 </since_tizen>
34 public Renderer(Geometry geometry, Shader shader) : this(Interop.Renderer.New(Geometry.getCPtr(geometry), Shader.getCPtr(shader)), true)
36 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
41 /// Gets and Sets DepthIndex property.
43 /// <since_tizen> 3 </since_tizen>
49 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.DepthIndex).Get(out temp);
54 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DepthIndex, new Tizen.NUI.PropertyValue(value));
59 /// Gets and Sets FaceCullingMode.
61 /// <since_tizen> 3 </since_tizen>
62 public int FaceCullingMode
67 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.FaceCullingMode).Get(out temp);
72 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.FaceCullingMode, new Tizen.NUI.PropertyValue(value));
77 /// Gets and Sets BlendMode.
79 /// <since_tizen> 3 </since_tizen>
85 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendMode).Get(out temp);
90 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendMode, new Tizen.NUI.PropertyValue(value));
95 /// Gets and Sets BlendEquationRgb.
97 /// <since_tizen> 3 </since_tizen>
98 public int BlendEquationRgb
103 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendEquationRgb).Get(out temp);
108 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendEquationRgb, new Tizen.NUI.PropertyValue(value));
113 /// Gets and Sets BlendEquationAlpha.
115 /// <since_tizen> 3 </since_tizen>
116 public int BlendEquationAlpha
121 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendEquationAlpha).Get(out temp);
126 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendEquationAlpha, new Tizen.NUI.PropertyValue(value));
131 /// Gets and Sets BlendFactorSrcRgb.
133 /// <since_tizen> 3 </since_tizen>
134 public int BlendFactorSrcRgb
139 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendFactorSrcRgb).Get(out temp);
144 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendFactorSrcRgb, new Tizen.NUI.PropertyValue(value));
149 /// Gets and Sets BlendFactorDestRgb.
151 /// <since_tizen> 3 </since_tizen>
152 public int BlendFactorDestRgb
157 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendFactorDestRgb).Get(out temp);
162 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendFactorDestRgb, new Tizen.NUI.PropertyValue(value));
167 /// Gets and Sets BlendFactorSrcAlpha.
169 /// <since_tizen> 3 </since_tizen>
170 public int BlendFactorSrcAlpha
175 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendFactorSrcAlpha).Get(out temp);
180 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendFactorSrcAlpha, new Tizen.NUI.PropertyValue(value));
185 /// Gets and Sets BlendFactorDestAlpha.
187 /// <since_tizen> 3 </since_tizen>
188 public int BlendFactorDestAlpha
193 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendFactorDestAlpha).Get(out temp);
198 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendFactorDestAlpha, new Tizen.NUI.PropertyValue(value));
203 /// Gets and Sets BlendColor.
205 /// <since_tizen> 3 </since_tizen>
206 public Vector4 BlendColor
210 Vector4 temp = new Vector4(0.0f, 0.0f, 0.0f, 0.0f);
211 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendColor).Get(temp);
216 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendColor, new Tizen.NUI.PropertyValue(value));
221 /// Gets and Sets BlendPreMultipliedAlpha.
223 /// <since_tizen> 3 </since_tizen>
224 public bool BlendPreMultipliedAlpha
229 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.BlendPreMultipliedAlpha).Get(out temp);
234 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.BlendPreMultipliedAlpha, new Tizen.NUI.PropertyValue(value));
239 /// Gets and Sets IndexRangeFirst.
241 /// <since_tizen> 3 </since_tizen>
242 public int IndexRangeFirst
247 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.IndexRangeFirst).Get(out temp);
252 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.IndexRangeFirst, new Tizen.NUI.PropertyValue(value));
257 /// Gets and Sets IndexRangeCount.
259 /// <since_tizen> 3 </since_tizen>
260 public int IndexRangeCount
265 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.IndexRangeCount).Get(out temp);
270 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.IndexRangeCount, new Tizen.NUI.PropertyValue(value));
275 /// Gets and Sets DepthWriteMode.
277 /// <since_tizen> 3 </since_tizen>
278 public int DepthWriteMode
283 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.DepthWriteMode).Get(out temp);
288 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DepthWriteMode, new Tizen.NUI.PropertyValue(value));
293 /// Gets and Sets DepthFunction.
295 /// <since_tizen> 3 </since_tizen>
296 public int DepthFunction
301 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.DepthFunction).Get(out temp);
306 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DepthFunction, new Tizen.NUI.PropertyValue(value));
311 /// Gets and Sets DepthTestMode.
313 /// <since_tizen> 3 </since_tizen>
314 public int DepthTestMode
319 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.DepthTestMode).Get(out temp);
324 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.DepthTestMode, new Tizen.NUI.PropertyValue(value));
329 /// Gets and Sets RenderMode.
331 /// <since_tizen> 3 </since_tizen>
332 public int RenderMode
337 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.RenderMode).Get(out temp);
342 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.RenderMode, new Tizen.NUI.PropertyValue(value));
347 /// Gets and Sets StencilFunction.
349 /// <since_tizen> 3 </since_tizen>
350 public int StencilFunction
355 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.StencilFunction).Get(out temp);
360 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.StencilFunction, new Tizen.NUI.PropertyValue(value));
365 /// Gets and Sets StencilFunctionMask.
367 /// <since_tizen> 3 </since_tizen>
368 public int StencilFunctionMask
373 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.StencilFunctionMask).Get(out temp);
378 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.StencilFunctionMask, new Tizen.NUI.PropertyValue(value));
383 /// Gets and Sets StencilFunctionReference.
385 /// <since_tizen> 3 </since_tizen>
386 public int StencilFunctionReference
391 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.StencilFunctionReference).Get(out temp);
396 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.StencilFunctionReference, new Tizen.NUI.PropertyValue(value));
401 /// Gets and Sets StencilMask.
403 /// <since_tizen> 3 </since_tizen>
404 public int StencilMask
409 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.StencilMask).Get(out temp);
414 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.StencilMask, new Tizen.NUI.PropertyValue(value));
419 /// Gets and Sets StencilOperationOnFail.
421 /// <since_tizen> 3 </since_tizen>
422 public int StencilOperationOnFail
427 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.StencilOperationOnFail).Get(out temp);
432 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.StencilOperationOnFail, new Tizen.NUI.PropertyValue(value));
437 /// Gets and Sets StencilOperationOnZFail.
439 /// <since_tizen> 3 </since_tizen>
440 public int StencilOperationOnZFail
445 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.StencilOperationOnZFail).Get(out temp);
450 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.StencilOperationOnZFail, new Tizen.NUI.PropertyValue(value));
455 /// Gets and Sets StencilOperationOnZPass property.
457 /// <since_tizen> 3 </since_tizen>
458 public int StencilOperationOnZPass
463 Tizen.NUI.Object.GetProperty(swigCPtr, Renderer.Property.StencilOperationOnZPass).Get(out temp);
468 Tizen.NUI.Object.SetProperty(swigCPtr, Renderer.Property.StencilOperationOnZPass, new Tizen.NUI.PropertyValue(value));
473 /// Sets the geometry to be used by this renderer.
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)
479 Interop.Renderer.SetGeometry(swigCPtr, Geometry.getCPtr(geometry));
480 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
484 /// Gets the geometry used by this renderer.
486 /// <returns>The geometry used by the renderer.</returns>
487 /// <since_tizen> 3 </since_tizen>
488 public Geometry GetGeometry()
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();
498 /// Sets effective range of indices to draw from bound index buffer.
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)
505 Interop.Renderer.SetIndexRange(swigCPtr, firstElement, elementsCount);
506 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
510 /// Sets the texture set to be used by this renderer.
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)
516 Interop.Renderer.SetTextures(swigCPtr, TextureSet.getCPtr(textureSet));
517 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
521 /// Gets the texture set used by this renderer.
523 /// <returns>The texture set used by the renderer.</returns>
524 /// <since_tizen> 3 </since_tizen>
525 public TextureSet GetTextures()
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)
533 ret = new TextureSet(cPtr, false);
534 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
537 Interop.BaseHandle.DeleteBaseHandle(CPtr);
538 CPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
540 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
545 /// Sets the shader used by this renderer.
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)
551 Interop.Renderer.SetShader(swigCPtr, Shader.getCPtr(shader));
552 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
556 /// Gets the shader used by this renderer.
558 /// <returns>The shader used by the renderer.</returns>
559 /// <since_tizen> 3 </since_tizen>
560 public Shader GetShader()
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();
569 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Renderer obj)
571 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
574 internal Renderer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.Renderer.Upcast(cPtr), cMemoryOwn)
578 /// This will not be public opened.
579 [EditorBrowsable(EditorBrowsableState.Never)]
580 protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
582 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)]
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 public class Property
626 /// This should be internal, please do not use.
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();
633 /// This should be internal, please do not use.
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();
640 /// This should be internal, please do not use.
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();
647 /// This should be internal, please do not use.
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();
654 /// This should be internal, please do not use.
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();
661 /// This should be internal, please do not use.
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();
668 /// This should be internal, please do not use.
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();
675 /// This should be internal, please do not use.
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();
682 /// This should be internal, please do not use.
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();
689 /// This should be internal, please do not use.
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();
696 /// This should be internal, please do not use.
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();
703 /// This should be internal, please do not use.
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();
710 /// This should be internal, please do not use.
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();
717 /// This should be internal, please do not use.
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();
724 /// This should be internal, please do not use.
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();
731 /// This should be internal, please do not use.
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();
738 /// This should be internal, please do not use.
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();
745 /// This should be internal, please do not use.
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();
752 /// This should be internal, please do not use.
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();
759 /// This should be internal, please do not use.
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();
766 /// This should be internal, please do not use.
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();
773 /// This should be internal, please do not use.
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();
780 /// This should be internal, please do not use.
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();
787 /// This should be internal, please do not use.
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();