public void TestIndexedDrawing() { DummyBatchDrawer batchDrawer = new DummyBatchDrawer(); using( DrawContextQueuer<TestVertex> queuer = new DrawContextQueuer<TestVertex>( batchDrawer ) ) { DummyDrawContext context = new DummyDrawContext(); queuer.Begin(); try { queuer.Queue( TestVertices, 0, 9, TestIndices, 0, 9, PrimitiveType.TriangleList, context ); queuer.Queue( TestVertices, 9, 3, TestIndices, 9, 3, PrimitiveType.PointList, context ); } finally { queuer.End(); } } // TODO: Check results }
public void TestIndexedDrawing() { DummyBatchDrawer batchDrawer = new DummyBatchDrawer(); using ( DrawContextQueuer <TestVertex> queuer = new DrawContextQueuer <TestVertex>( batchDrawer ) ) { DummyDrawContext context = new DummyDrawContext(); queuer.Begin(); try { queuer.Queue( TestVertices, 0, 9, TestIndices, 0, 9, PrimitiveType.TriangleList, context ); queuer.Queue( TestVertices, 9, 3, TestIndices, 9, 3, PrimitiveType.PointList, context ); } finally { queuer.End(); } } // TODO: Check results }
public void TestConstructor() { DummyBatchDrawer batchDrawer = new DummyBatchDrawer(); using( DrawContextQueuer<TestVertex> queuer = new DrawContextQueuer<TestVertex>( batchDrawer ) ) { } }
public void TestConstructor() { DummyBatchDrawer batchDrawer = new DummyBatchDrawer(); using( ImmediateQueuer<TestVertex> Queuer = new ImmediateQueuer<TestVertex>( batchDrawer ) ) { } }
public void TestConstructor() { DummyBatchDrawer batchDrawer = new DummyBatchDrawer(); using ( ImmediateQueuer <TestVertex> Queuer = new ImmediateQueuer <TestVertex>( batchDrawer ) ) { } }
public void TestConstructor() { DummyBatchDrawer batchDrawer = new DummyBatchDrawer(); using ( DrawContextQueuer <TestVertex> queuer = new DrawContextQueuer <TestVertex>( batchDrawer ) ) { } }