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