internal static extern void Internal_ExecuteDrawCalls(IntPtr obj, ref RenderContext renderContext, DrawCallsListType listType);
internal static extern void Internal_SortDrawCalls(IntPtr obj, ref RenderContext renderContext, bool reverseDistance, DrawCallsListType listType);
/// <summary> /// Executes the collected draw calls. /// </summary> /// <param name="renderContext">The rendering context.</param> /// <param name="listType">The collected draw calls list type.</param> public void ExecuteDrawCalls(ref RenderContext renderContext, DrawCallsListType listType) { Internal_ExecuteDrawCalls(unmanagedPtr, ref renderContext, listType); }
/// <summary> /// Sorts the collected draw calls list. /// </summary> /// <param name="renderContext">The rendering context.</param> /// <param name="reverseDistance">If set to <c>true</c> reverse draw call distance to the view. Results in back to front sorting.</param> /// <param name="listType">The collected draw calls list type.</param> public void SortDrawCalls(ref RenderContext renderContext, bool reverseDistance, DrawCallsListType listType) { Internal_SortDrawCalls(unmanagedPtr, ref renderContext, reverseDistance, listType); }