/// <summary> /// Constructs a DeviceTexture from this texture. /// </summary> /// <param name="producer"></param> /// <returns>A new <see cref="DeviceTexture2D"/> containing this image's pixel data.</returns> public DeviceTexture2D CreateDeviceTexture(DeviceTextureCreator producer) { return(producer.CreateTexture(Pixels, Width, Height, PixelSizeInBytes, Format)); }
public abstract DeviceTexture2D CreateDeviceTexture(DeviceTextureCreator producer);