Table of Contents

Class ImageHelper

Namespace
Stride.Graphics
Assembly
Stride.dll
public class ImageHelper
Inheritance
ImageHelper

Methods

LoadFromMemory(nint, int, bool, GCHandle?)

public static Image LoadFromMemory(nint pSource, int size, bool makeACopy, GCHandle? handle)

Parameters

pSource nint
size int
makeACopy bool
handle GCHandle?

Returns

Image

SaveFromMemory(PixelBuffer[], int, ImageDescription, Stream)

public static void SaveFromMemory(PixelBuffer[] pixelBuffers, int count, ImageDescription description, Stream imageStream)

Parameters

pixelBuffers PixelBuffer[]
count int
description ImageDescription
imageStream Stream