Esempio n. 1
0
 public IndexBuffer(GraphicsDevice graphicsDevice, Type indexType, int indexCount, BufferUsage usage)
     : this(graphicsDevice, IndexBuffer.SizeForType(graphicsDevice, indexType), indexCount, usage, false)
 {
 }
Esempio n. 2
0
 protected IndexBuffer(GraphicsDevice graphicsDevice, Type indexType, int indexCount, BufferUsage usage, bool dynamic)
     : this(graphicsDevice, IndexBuffer.SizeForType(graphicsDevice, indexType), indexCount, usage, dynamic)
 {
 }