Class RenderTask
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
public class RenderTask : Animatable, IDynamicResourceHandler, INameScope, System.IDisposable
- Inheritance
-
- Implements
-
System.IDisposable
Constructors
View Source
RenderTask()
Declaration
View Source
RenderTask(RenderTask)
Declaration
public RenderTask(RenderTask handle)
Parameters
Fields
View Source
DefaultClearColor
Declaration
public static readonly Vector4 DefaultClearColor
Field Value
View Source
DefaultClearEnabled
Declaration
public const bool DefaultClearEnabled
Field Value
View Source
DefaultCullMode
Declaration
public const bool DefaultCullMode
Field Value
View Source
DefaultExclusive
Declaration
public const bool DefaultExclusive
Field Value
View Source
Declaration
public const bool DefaultInputEnabled
Field Value
View Source
DefaultRefreshRate
Declaration
public const uint DefaultRefreshRate
Field Value
Properties
View Source
ClearColor
Declaration
public Vector4 ClearColor { get; set; }
Property Value
View Source
ID
Gets the render task's ID. 0 if render task is invalid.
Read-only
Declaration
Property Value
View Source
OrderIndex
Sets / gets the rendering order of render task.
Declaration
public int OrderIndex { get; set; }
Property Value
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
View Source
RequiresSync
Declaration
public bool RequiresSync { get; set; }
Property Value
View Source
ViewportPosition
Declaration
public Vector2 ViewportPosition { get; set; }
Property Value
View Source
ViewportSize
Declaration
public Vector2 ViewportSize { get; set; }
Property Value
Methods
View Source
Assign(RenderTask)
Declaration
public RenderTask Assign(RenderTask rhs)
Parameters
Returns
View Source
Dispose(DisposeTypes)
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Overrides
View Source
DownCast(BaseHandle)
Declaration
public static RenderTask DownCast(BaseHandle handle)
Parameters
Returns
View Source
GetCamera()
Declaration
public Camera GetCamera()
Returns
View Source
GetClearColor()
Declaration
public Vector4 GetClearColor()
Returns
View Source
GetClearEnabled()
Declaration
public bool GetClearEnabled()
Returns
View Source
GetCullMode()
Declaration
public bool GetCullMode()
Returns
View Source
GetCurrentViewportPosition()
Declaration
public Vector2 GetCurrentViewportPosition()
Returns
View Source
GetCurrentViewportSize()
Declaration
public Vector2 GetCurrentViewportSize()
Returns
View Source
GetFrameBuffer()
Declaration
public FrameBuffer GetFrameBuffer()
Returns
View Source
Declaration
public bool GetInputEnabled()
Returns
View Source
GetRefreshRate()
Declaration
public uint GetRefreshRate()
Returns
View Source
GetRenderTaskFromPtr(IntPtr)
Declaration
public static RenderTask GetRenderTaskFromPtr(System.IntPtr cPtr)
Parameters
| Type |
Name |
Description |
| System.IntPtr |
cPtr |
|
Returns
View Source
GetScreenToFrameBufferMappingView()
Declaration
public View GetScreenToFrameBufferMappingView()
Returns
View Source
GetSourceView()
Declaration
public View GetSourceView()
Returns
View Source
GetStopperView()
Declaration
public View GetStopperView()
Returns
View Source
GetViewport()
Declaration
public Rectangle GetViewport()
Returns
View Source
IsExclusive()
Declaration
public bool IsExclusive()
Returns
View Source
ReleaseSwigCPtr(HandleRef)
Declaration
protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
Parameters
| Type |
Name |
Description |
| System.Runtime.InteropServices.HandleRef |
swigCPtr |
|
Overrides
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
View Source
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
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
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
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
Implements
System.IDisposable
Extension Methods