internal static void DrawIndexedInstancedGBufferPass(MyRenderContext rc, int indexCountPerInstance, int instanceCount, int startIndexLocation, int baseVertexLocation, int startInstanceLocation)
 {
     BeginDrawGBufferPass(rc);
     rc.DrawIndexedInstanced(indexCountPerInstance, instanceCount, startIndexLocation, baseVertexLocation, startInstanceLocation);
     SwitchDrawGBufferPass(rc);
     rc.DrawIndexedInstanced(indexCountPerInstance, instanceCount, startIndexLocation, baseVertexLocation, startInstanceLocation);
     EndDrawGBufferPass(rc);
 }
Example #2
0
 internal static void DrawIndexedInstancedGBufferPass(MyRenderContext rc, int indexCountPerInstance, int instanceCount, int startIndexLocation, int baseVertexLocation, int startInstanceLocation)
 {
     BeginDrawGBufferPass(rc);
     rc.DrawIndexedInstanced(indexCountPerInstance, instanceCount, startIndexLocation, baseVertexLocation, startInstanceLocation);
     SwitchDrawGBufferPass(rc);
     rc.DrawIndexedInstanced(indexCountPerInstance, instanceCount, startIndexLocation, baseVertexLocation, startInstanceLocation);
     EndDrawGBufferPass(rc);
 }