Esempio n. 1
0
 /// <summary>
 /// Accepts pixel data from the given provider. This will overrite the pixel data in this texture.
 /// </summary>
 /// <param name="pixelDataProvider">The data provider to accept pixel information from.</param>
 public void AcceptPixelData(PixelDataProvider pixelDataProvider)
 {
     pixelDataProvider.SetPixelData(Pixels, Width, Height, PixelSizeInBytes);
 }