Ejemplo n.º 1
0
 internal static extern void Internal_ExecuteDrawCalls(IntPtr obj, ref RenderContext renderContext, DrawCallsListType listType);
Ejemplo n.º 2
0
 internal static extern void Internal_SortDrawCalls(IntPtr obj, ref RenderContext renderContext, bool reverseDistance, DrawCallsListType listType);
Ejemplo n.º 3
0
 /// <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);
 }
Ejemplo n.º 4
0
 /// <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);
 }