Class RenderTask

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll
    public class RenderTask : Animatable, IDynamicResourceHandler, INameScope, System.IDisposable
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    Animatable
    RenderTask
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Constructors

    View Source

    RenderTask()

    Declaration
    public RenderTask()
    View Source

    RenderTask(RenderTask)

    Declaration
    public RenderTask(RenderTask handle)
    Parameters
    Type Name Description
    RenderTask handle

    Fields

    View Source

    DefaultClearColor

    Declaration
    public static readonly Vector4 DefaultClearColor
    Field Value
    Type Description
    Vector4
    View Source

    DefaultClearEnabled

    Declaration
    public const bool DefaultClearEnabled
    Field Value
    Type Description
    bool
    View Source

    DefaultCullMode

    Declaration
    public const bool DefaultCullMode
    Field Value
    Type Description
    bool
    View Source

    DefaultExclusive

    Declaration
    public const bool DefaultExclusive
    Field Value
    Type Description
    bool
    View Source

    DefaultInputEnabled

    Declaration
    public const bool DefaultInputEnabled
    Field Value
    Type Description
    bool
    View Source

    DefaultRefreshRate

    Declaration
    public const uint DefaultRefreshRate
    Field Value
    Type Description
    uint

    Properties

    View Source

    ClearColor

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

    ID

    Gets the render task's ID. 0 if render task is invalid. Read-only

    Declaration
    public uint ID { get; }
    Property Value
    Type Description
    uint
    View Source

    OrderIndex

    Sets / gets the rendering order of render task.

    Declaration
    public int OrderIndex { get; set; }
    Property Value
    Type Description
    int
    Remarks

    In the DALi, offscreen renderTasks are rendered earlier than onscreen renderTask.

    • In each category of OffScreen RenderTask and OnScreen RenderTask,
    • a RenderTask with a smaller orderIndex is rendered first.
    • The RenderTasks in RenderTaskList is always sorted as acending order of the OrderIndex.
    • The OrderIndex value is needed to be set between [-1000, 1000].
    • Default orderIndex is 0.
    View Source

    RenderPassTag

    Sets / gets the tag of render pass. It will be used when we want to change render pass without change shader. Default is 0.

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

    RequiresSync

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

    ViewportPosition

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

    ViewportSize

    Declaration
    public Vector2 ViewportSize { get; set; }
    Property Value
    Type Description
    Vector2

    Methods

    View Source

    Assign(RenderTask)

    Declaration
    public RenderTask Assign(RenderTask rhs)
    Parameters
    Type Name Description
    RenderTask rhs
    Returns
    Type Description
    RenderTask
    View Source

    Dispose(DisposeTypes)

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

    DownCast(BaseHandle)

    Declaration
    public static RenderTask DownCast(BaseHandle handle)
    Parameters
    Type Name Description
    BaseHandle handle
    Returns
    Type Description
    RenderTask
    View Source

    GetCamera()

    Declaration
    public Camera GetCamera()
    Returns
    Type Description
    Camera
    View Source

    GetClearColor()

    Declaration
    public Vector4 GetClearColor()
    Returns
    Type Description
    Vector4
    View Source

    GetClearEnabled()

    Declaration
    public bool GetClearEnabled()
    Returns
    Type Description
    bool
    View Source

    GetCullMode()

    Declaration
    public bool GetCullMode()
    Returns
    Type Description
    bool
    View Source

    GetCurrentViewportPosition()

    Declaration
    public Vector2 GetCurrentViewportPosition()
    Returns
    Type Description
    Vector2
    View Source

    GetCurrentViewportSize()

    Declaration
    public Vector2 GetCurrentViewportSize()
    Returns
    Type Description
    Vector2
    View Source

    GetFrameBuffer()

    Declaration
    public FrameBuffer GetFrameBuffer()
    Returns
    Type Description
    FrameBuffer
    View Source

    GetInputEnabled()

    Declaration
    public bool GetInputEnabled()
    Returns
    Type Description
    bool
    View Source

    GetRefreshRate()

    Declaration
    public uint GetRefreshRate()
    Returns
    Type Description
    uint
    View Source

    GetRenderTaskFromPtr(IntPtr)

    Declaration
    public static RenderTask GetRenderTaskFromPtr(System.IntPtr cPtr)
    Parameters
    Type Name Description
    System.IntPtr cPtr
    Returns
    Type Description
    RenderTask
    View Source

    GetScreenToFrameBufferMappingView()

    Declaration
    public View GetScreenToFrameBufferMappingView()
    Returns
    Type Description
    View
    View Source

    GetSourceView()

    Declaration
    public View GetSourceView()
    Returns
    Type Description
    View
    View Source

    GetStopperView()

    Declaration
    public View GetStopperView()
    Returns
    Type Description
    View
    View Source

    GetViewport()

    Declaration
    public Rectangle GetViewport()
    Returns
    Type Description
    Rectangle
    View Source

    IsExclusive()

    Declaration
    public bool IsExclusive()
    Returns
    Type Description
    bool
    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)
    View Source

    RenderUntil(View)

    Declaration
    public void RenderUntil(View view)
    Parameters
    Type Name Description
    View view
    View Source

    SetCamera(Camera)

    Declaration
    public void SetCamera(Camera camera)
    Parameters
    Type Name Description
    Camera camera
    View Source

    SetClearColor(Vector4)

    Declaration
    public void SetClearColor(Vector4 color)
    Parameters
    Type Name Description
    Vector4 color
    View Source

    SetClearEnabled(bool)

    Declaration
    public void SetClearEnabled(bool enabled)
    Parameters
    Type Name Description
    bool enabled
    View Source

    SetCullMode(bool)

    Declaration
    public void SetCullMode(bool cullMode)
    Parameters
    Type Name Description
    bool cullMode
    View Source

    SetExclusive(bool)

    Declaration
    public void SetExclusive(bool exclusive)
    Parameters
    Type Name Description
    bool exclusive
    View Source

    SetFrameBuffer(FrameBuffer)

    Declaration
    public void SetFrameBuffer(FrameBuffer frameBuffer)
    Parameters
    Type Name Description
    FrameBuffer frameBuffer
    View Source

    SetInputEnabled(bool)

    Declaration
    public void SetInputEnabled(bool enabled)
    Parameters
    Type Name Description
    bool enabled
    View Source

    SetRefreshRate(uint)

    Declaration
    public void SetRefreshRate(uint refreshRate)
    Parameters
    Type Name Description
    uint refreshRate
    View Source

    SetScreenToFrameBufferMappingView(View)

    Declaration
    public void SetScreenToFrameBufferMappingView(View mappingView)
    Parameters
    Type Name Description
    View mappingView
    View Source

    SetSourceView(View)

    Declaration
    public void SetSourceView(View view)
    Parameters
    Type Name Description
    View view
    View Source

    SetViewport(Rectangle)

    Declaration
    public void SetViewport(Rectangle viewport)
    Parameters
    Type Name Description
    Rectangle viewport
    View Source

    SetViewportPosition(Vector2)

    Declaration
    public void SetViewportPosition(Vector2 position)
    Parameters
    Type Name Description
    Vector2 position
    View Source

    SetViewportSize(Vector2)

    Declaration
    public void SetViewportSize(Vector2 size)
    Parameters
    Type Name Description
    Vector2 size
    View Source

    ViewportToLocal(View, float, float, out float, out float)

    Declaration
    public bool ViewportToLocal(View view, float viewportX, float viewportY, out float localX, out float localY)
    Parameters
    Type Name Description
    View view
    float viewportX
    float viewportY
    float localX
    float localY
    Returns
    Type Description
    bool
    View Source

    WorldToViewport(Vector3, out float, out float)

    Declaration
    public bool WorldToViewport(Vector3 position, out float viewportX, out float viewportY)
    Parameters
    Type Name Description
    Vector3 position
    float viewportX
    float viewportY
    Returns
    Type Description
    bool

    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