Class Renderable

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    Renderable is a handle to an object used to show content by combining a Geometry, a TextureSet and a shader.

    public class Renderable : Animatable, IDynamicResourceHandler, INameScope, System.IDisposable
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    Animatable
    Renderable
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Constructors

    View Source

    Renderable()

    Create an instance of Renderable without Geometry or Shader.

    Declaration
    public Renderable()

    Properties

    View Source

    AliveCount

    Gets the number of currently alived Renderable object.

    Declaration
    public static int AliveCount { get; }
    Property Value
    Type Description
    int
    View Source

    BlendColor

    Gets and Sets BlendColor.

    Declaration
    public Vector4 BlendColor { get; set; }
    Property Value
    Type Description
    Vector4
    View Source

    BlendEquationAlpha

    Gets and Sets BlendEquation method for Alpha channel. BlendEquation specifies the mathematical operation for blending.

    Declaration
    public BlendEquation BlendEquationAlpha { get; set; }
    Property Value
    Type Description
    BlendEquation
    View Source

    BlendEquationRgb

    Gets and Sets BlendEquation method for RGB channel. BlendEquation specifies the mathematical operation for blending.

    Declaration
    public BlendEquation BlendEquationRgb { get; set; }
    Property Value
    Type Description
    BlendEquation
    View Source

    BlendFactorDestAlpha

    Gets and Sets BlendFactor for Alpha channel of Destination. BlendFactor determines the weight of source and destination colors.

    Declaration
    public BlendFactor BlendFactorDestAlpha { get; set; }
    Property Value
    Type Description
    BlendFactor
    View Source

    BlendFactorDestRgb

    Gets and Sets BlendFactor for Rgb channel of Destination. BlendFactor determines the weight of source and destination colors.

    Declaration
    public BlendFactor BlendFactorDestRgb { get; set; }
    Property Value
    Type Description
    BlendFactor
    View Source

    BlendFactorSrcAlpha

    Gets and Sets BlendFactor for Alpha channel of Source. BlendFactor determines the weight of source and destination colors.

    Declaration
    public BlendFactor BlendFactorSrcAlpha { get; set; }
    Property Value
    Type Description
    BlendFactor
    View Source

    BlendFactorSrcRgb

    Gets and Sets BlendFactor for Rgb channel of Source. BlendFactor determines the weight of source and destination colors.

    Declaration
    public BlendFactor BlendFactorSrcRgb { get; set; }
    Property Value
    Type Description
    BlendFactor
    View Source

    BlendMode

    Gets and Sets BlendMode. BlendMode defines how source and destination colors are blended.

    Declaration
    public BlendMode BlendMode { get; set; }
    Property Value
    Type Description
    BlendMode
    View Source

    BlendPreMultipliedAlpha

    Gets and Sets BlendPreMultipliedAlpha. If it is true, it denotes the RGB color values are aleady multiplied by the alpha value. It improves blending accuracy and avoidng artifacts in transparent areas.

    Declaration
    public bool BlendPreMultipliedAlpha { get; set; }
    Property Value
    Type Description
    bool
    View Source

    DepthFunction

    Gets and Sets DepthFunction. This property defines the comparison function for depth testing

    Declaration
    public DepthFunction DepthFunction { get; set; }
    Property Value
    Type Description
    DepthFunction
    View Source

    DepthIndex

    Gets and Sets DepthIndex property.

    Declaration
    public int DepthIndex { get; set; }
    Property Value
    Type Description
    int
    View Source

    DepthTestMode

    Gets and Sets DepthTestMode. This property specifies how depth testing is applied to fragments.

    Declaration
    public DepthTestMode DepthTestMode { get; set; }
    Property Value
    Type Description
    DepthTestMode
    View Source

    DepthWriteMode

    Gets and Sets DepthWriteMode. This property controls wheter depth buffer writing is enabled.

    Declaration
    public DepthWriteMode DepthWriteMode { get; set; }
    Property Value
    Type Description
    DepthWriteMode
    View Source

    FaceCullingMode

    Gets and Sets FaceCullingMode to define which face is culled or not.

    Declaration
    public FaceCullingMode FaceCullingMode { get; set; }
    Property Value
    Type Description
    FaceCullingMode
    View Source

    FirstIndex

    Gets and Sets first index to define effective range of indices to draw from bound index buffer.

    Declaration
    public int FirstIndex { get; set; }
    Property Value
    Type Description
    int
    View Source

    Geometry

    Gets and Sets Geometry of this Renderable.

    Declaration
    public Geometry Geometry { get; set; }
    Property Value
    Type Description
    Geometry
    View Source

    IndexCount

    Gets and Sets index count of effective range of indices to draw from bound index buffer.

    Declaration
    public int IndexCount { get; set; }
    Property Value
    Type Description
    int
    View Source

    RenderMode

    Gets and Sets RenderMode. This property specifies what aspects of rendering are enabled.

    Declaration
    public RenderMode RenderMode { get; set; }
    Property Value
    Type Description
    RenderMode
    View Source

    Shader

    Gets and Sets Shader of this Renderable.

    Declaration
    public Shader Shader { get; set; }
    Property Value
    Type Description
    Shader
    View Source

    StencilFunction

    Gets and Sets Stencil Function. This property specifies the test function for stencil buffering

    Declaration
    public StencilFunction StencilFunction { get; set; }
    Property Value
    Type Description
    StencilFunction
    View Source

    StencilFunctionMask

    Gets and Sets StencilFunctionMask. A bitmask applied to the stencil test function

    Declaration
    public int StencilFunctionMask { get; set; }
    Property Value
    Type Description
    int
    View Source

    StencilFunctionReference

    Gets and Sets StencilFunctionReference. The reference value used in the stencil test.

    Declaration
    public int StencilFunctionReference { get; set; }
    Property Value
    Type Description
    int
    View Source

    StencilMask

    Gets and Sets StencilMask. This property controls which bits of the stencil buffer can be modified.

    Declaration
    public int StencilMask { get; set; }
    Property Value
    Type Description
    int
    View Source

    StencilOperationOnFail

    Gets and Sets StencilOperationOnFail. Action when the stencil test fails.

    Declaration
    public StencilOperation StencilOperationOnFail { get; set; }
    Property Value
    Type Description
    StencilOperation
    View Source

    StencilOperationOnZFail

    Gets and Sets StencilOperationOnZFail. Action when the depth test fails but the stencil test passed.

    Declaration
    public StencilOperation StencilOperationOnZFail { get; set; }
    Property Value
    Type Description
    StencilOperation
    View Source

    StencilOperationOnZPass

    Gets and Sets StencilOperationOnZPass property. Action when both stencil and depth tests pass.

    Declaration
    public StencilOperation StencilOperationOnZPass { get; set; }
    Property Value
    Type Description
    StencilOperation
    View Source

    TextureSet

    Gets and Sets Textures of this Renderable.

    Declaration
    public TextureSet TextureSet { get; set; }
    Property Value
    Type Description
    TextureSet
    View Source

    UpdateArea

    Gets and Sets extents of partial update area.

    Declaration
    public UIExtents UpdateArea { get; set; }
    Property Value
    Type Description
    UIExtents
    Remarks

    Extents the area - the position and the size - used for the attached View's partial update area calculation. This value be appended after calculate all update area, like visual offset. Change UpdateAreaHint value if you want to change View's partial update area. Warning : Only 0u ~ 65535u integer values are allowed for each parameters.

    Methods

    View Source

    Dispose(DisposeTypes)

    Declaration
    protected override void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type
    Overrides
    BaseHandle.Dispose(DisposeTypes)
    View Source

    ReleaseSwigCPtr(HandleRef)

    Declaration
    protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef swigCPtr
    Overrides
    Animatable.ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef)

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Extension Methods

    BindableObjectExtensions.SetBinding(BindableObject, BindableProperty, string, BindingMode, IValueConverter, string)
    NameScopeExtensions.FindByName<T>(Element, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX