示例#1
0
 public DynamicVertexBuffer(GraphicsDevice graphics, VertexDeclaration vertexDecs, int vertexCount, BufferUsage bufferUsage)
     : base(graphics, vertexDecs.GetType(), vertexCount, bufferUsage)
 {
 }
示例#2
0
 public VertexBuffer(GraphicsDevice Graphics, VertexDeclaration vertexDecs, int vertexCount, BufferUsage bufferUsage)
     : this(Graphics, vertexDecs.GetType(), vertexCount, bufferUsage)
 {
     vertexDeclaration = vertexDecs;
 }