Esempio n. 1
0
 public VertexAndIndexDeviceBufferNoMaterial(Buffer vertexBuffer, int vertexCount, Buffer indexBuffer, int indexCount)
 {
     _vertexBuffer = vertexBuffer;
     _vertexCount  = vertexCount;
     _indexBuffer  = indexBuffer;
     _indexCount   = indexCount;
 }
 public VertexAndIndexDeviceBuffer(
     IMaterial material,
     Buffer vertexBuffer,
     int vertexCount,
     Buffer indexBuffer,
     int indexCount,
     Plane[] clipPlanes,
     byte[] uColors)
 {
     _isDisposed   = false;
     _material     = material;
     _vertexBuffer = vertexBuffer;
     _vertexCount  = vertexCount;
     _indexBuffer  = indexBuffer;
     _indexCount   = indexCount;
     _clipPlanes   = clipPlanes;
     _uColors      = uColors;
 }
 public VertexBufferNoMaterial(Buffer vertexBuffer, int vertexCount)
 {
     _vertexBuffer = vertexBuffer;
     _vertexCount  = vertexCount;
 }