internal static void DrawGBufferPass(MyRenderContext rc, int vertexCount, int startVertexLocation) { BeginDrawGBufferPass(rc); rc.Draw(vertexCount, startVertexLocation); SwitchDrawGBufferPass(rc); rc.Draw(vertexCount, startVertexLocation); EndDrawGBufferPass(rc); }