Skip to content

IRenderDevice.CreateImageView method (1 of 3)

Creates an image that samples an externally owned raster resource; throws NotSupportedException when the backend cannot import it.

public IImage CreateImageView(IExternalRasterSource source)

IRenderDevice.CreateImageView method (2 of 3)

Section titled “IRenderDevice.CreateImageView method (2 of 3)”

Creates an image over a CPU pixel source.

public IImage CreateImageView(IPixelBufferSource source)

IRenderDevice.CreateImageView method (3 of 3)

Section titled “IRenderDevice.CreateImageView method (3 of 3)”

Creates an image that aliases the pixels of surface; the surface is released only after its last view has been disposed.

public IImage CreateImageView(IRenderSurface surface)