コード例 #1
0
 internal static void DrawGBufferPass(MyRenderContext rc, int vertexCount, int startVertexLocation)
 {
     BeginDrawGBufferPass(rc);
     rc.Draw(vertexCount, startVertexLocation);
     SwitchDrawGBufferPass(rc);
     rc.Draw(vertexCount, startVertexLocation);
     EndDrawGBufferPass(rc);
 }
コード例 #2
0
 internal static void DrawGBufferPass(MyRenderContext rc, int vertexCount, int startVertexLocation)
 {
     BeginDrawGBufferPass(rc);
     rc.Draw(vertexCount, startVertexLocation);
     SwitchDrawGBufferPass(rc);
     rc.Draw(vertexCount, startVertexLocation);
     EndDrawGBufferPass(rc);
 }