Beispiel #1
0
 public DynamicVertexBuffer(GraphicsDevice graphicsDevice, Type type, int vertexCount, BufferUsage bufferUsage) : base(graphicsDevice, VertexDeclaration.FromT(type), vertexCount, bufferUsage, true)
 {
 }
Beispiel #2
0
 public VertexBuffer(GraphicsDevice graphicsDevice, Type type, int vertexCount, BufferUsage bufferUsage) : this(graphicsDevice, VertexDeclaration.FromT(type), vertexCount, bufferUsage, false)
 {
 }