public View GetSourceView()
{
+ // TODO : Fix me, to avoid memory leak issue.
View ret = new View(Interop.RenderTask.GetSourceActor(SwigCPtr), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
public FrameBuffer GetFrameBuffer()
{
+ // TODO : Fix me, to avoid memory leak issue.
FrameBuffer ret = new FrameBuffer(Interop.RenderTask.GetFrameBuffer(SwigCPtr), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
public View GetScreenToFrameBufferMappingView()
{
+ // TODO : Fix me, to avoid memory leak issue.
View ret = new View(Interop.RenderTask.GetScreenToFrameBufferMappingActor(SwigCPtr), true);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
return ret;
}
+ public void RenderUntil(View view)
+ {
+ Interop.RenderTask.RenderUntil(SwigCPtr, View.getCPtr(view));
+ NDalicPINVOKE.ThrowExceptionIfExists();
+ }
+
+ public View GetStopperView()
+ {
+ // TODO : Fix me, to avoid memory leak issue.
+ View ret = new View(Interop.RenderTask.GetStopperView(SwigCPtr), true);
+ NDalicPINVOKE.ThrowExceptionIfExists();
+ return ret;
+ }
+
public bool WorldToViewport(Vector3 position, out float viewportX, out float viewportY)
{
bool ret = Interop.RenderTask.WorldToViewport(SwigCPtr, Vector3.getCPtr(position), out viewportX, out viewportY);
setVal?.Dispose();
}
}
+
+ /// <summary>
+ /// Sets / gets the tag of render pass. It will be used when we want to change render pass without change shader.
+ /// Default is 0.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public uint RenderPassTag
+ {
+ get
+ {
+ uint ret = Interop.RenderTask.GetRenderPassTag(SwigCPtr);
+ NDalicPINVOKE.ThrowExceptionIfExists();
+ return ret;
+ }
+ set
+ {
+ Interop.RenderTask.SetRenderPassTag(SwigCPtr, value);
+ NDalicPINVOKE.ThrowExceptionIfExists();
+ }
+ }
+
+ /// <summary>
+ /// Sets / gets the rendering order of render task.
+ /// </summary>
+ /// <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.
+ /// </remarks>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public int OrderIndex
+ {
+ get
+ {
+ int ret = Interop.RenderTask.GetOrderIndex(SwigCPtr);
+ NDalicPINVOKE.ThrowExceptionIfExists();
+ return ret;
+ }
+ set
+ {
+ Interop.RenderTask.SetOrderIndex(SwigCPtr, value);
+ NDalicPINVOKE.ThrowExceptionIfExists();
+ }
+ }
+
+ /// <summary>
+ /// Gets the render task's ID. 0 if render task is invalid.
+ /// Read-only
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public uint ID
+ {
+ get
+ {
+ uint ret = 0u;
+
+ if(!Disposed && !IsDisposeQueued)
+ {
+ ret = Interop.RenderTask.GetRenderTaskId(SwigCPtr);
+ }
+
+ NDalicPINVOKE.ThrowExceptionIfExists();
+ return ret;
+ }
+ }
}
}
[return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
public static extern bool ViewportToLocal(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, float jarg3, float jarg4, out float jarg5, out float jarg6);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_RenderTask_SetRenderPassTag")]
+ public static extern void SetRenderPassTag(global::System.Runtime.InteropServices.HandleRef nuiRenderTask, uint renderPassTag);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_RenderTask_GetRenderPassTag")]
+ public static extern uint GetRenderPassTag(global::System.Runtime.InteropServices.HandleRef nuiRenderTask);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_RenderTask_SetOrderIndex")]
+ public static extern void SetOrderIndex(global::System.Runtime.InteropServices.HandleRef nuiRenderTask, int orderIndex);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_RenderTask_GetOrderIndex")]
+ public static extern int GetOrderIndex(global::System.Runtime.InteropServices.HandleRef nuiRenderTask);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_RenderTask_GetRenderTaskId")]
+ public static extern uint GetRenderTaskId(global::System.Runtime.InteropServices.HandleRef nuiRenderTask);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_RenderTask_RenderUntil")]
+ public static extern void RenderUntil(global::System.Runtime.InteropServices.HandleRef nuiRenderTask, global::System.Runtime.InteropServices.HandleRef nuiStopperView);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_RenderTask_GetStopperActor")]
+ public static extern global::System.IntPtr GetStopperView(global::System.Runtime.InteropServices.HandleRef nuiRenderTask);
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_RenderTask_FinishedSignal")]
public static extern global::System.IntPtr FinishedSignal(global::System.Runtime.InteropServices.HandleRef jarg1);
}
/// <summary>
+ /// Gets the animation's ID. 0 if animation is invalid.
+ /// Read-only
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public uint ID
+ {
+ get
+ {
+ return GetId();
+ }
+ }
+
+ /// <summary>
/// Gets or sets the properties of the animation.
/// </summary>
//ToDo : will raise deprecated-ACR, [Obsolete("Deprecated in API9, will be removed in API11, Use PropertyList instead")]
return ret;
}
+ internal uint GetId()
+ {
+ uint ret = 0u;
+
+ if(!Disposed && !IsDisposeQueued)
+ {
+ ret = Interop.Animation.GetAnimationId(SwigCPtr);
+ }
+
+ NDalicPINVOKE.ThrowExceptionIfExists();
+ return ret;
+ }
+
internal AnimationSignal FinishedSignal()
{
AnimationSignal ret = new AnimationSignal(Interop.Animation.FinishedSignal(SwigCPtr), false);