private void PreDraw() { UpdateBuffers(); UpdateInputLayout(); PlatformRenderer.SetVertexInputLayout(inputLayout); PlatformRenderer.SetVertexBuffer(0, vertexBuffer, 0); PlatformRenderer.SetIndexBuffer(indexBuffer, 0, IndexFormat.Index16Bits); }
private void PreDraw() { UpdateBuffers(); UpdateInputLayout(); PlatformRenderer.SetVertexInputLayout(inputLayout); PlatformRenderer.SetVertexBuffer(0, vertexBuffer, 0); PlatformRenderer.SetIndexBuffer(indexBuffer, 0, IndexFormat.Index16Bits); }