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