0
我使用SLIMDX的direct3d9,但是找不到Device的SetIndices()方法。slimDx中缺少SetIndices
device.BeginScene();
device.SetStreamSource(0, VB, 0, 3 * sizeof(float));
device.SetIndices(IB); // This method is missing !
device.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, 8, 0, 12);
device.EndScene();