public void Draw ( int vertexCount, int firstIndex ) { lock (deviceContext) { ApplyGpuState(); //deviceContext.InputAssembler.PrimitiveTopology = Converter.Convert( primitive ); deviceContext.Draw( vertexCount, firstIndex ); } }