Beispiel #1
0
 public Data(Buffer2D <Vector4> buffer)
 {
     this.pointer  = (Vector4 *)buffer.Pin();
     this.pinnable = Unsafe.As <Pinnable <Vector4> >(buffer.Array);
     this.array    = buffer.Array;
     this.width    = buffer.Width;
 }