ImageHelper Class
Namespace: Stride.GraphicsAssembly: Stride.dll
System.Object →
ImageHelper
Derived from ImageHelper:
public class ImageHelper
Name | Description | |
---|---|---|
Methods | ||
LoadFromMemory(IntPtr, Int32, Boolean, Nullable<GCHandle>) | ||
SaveFromMemory(PixelBuffer[], Int32, ImageDescription, Stream) |
Methods
LoadFromMemory(IntPtr, Int32, Boolean, Nullable<GCHandle>)
public static Image LoadFromMemory(IntPtr pSource, int size, bool makeACopy, GCHandle? handle)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | pSource | |
System.Int32 | size | |
System.Boolean | makeACopy | |
System.Nullable<System.Runtime.InteropServices.GCHandle> | handle |
Returns
Type | Description |
---|---|
Image |
SaveFromMemory(PixelBuffer[], Int32, ImageDescription, Stream)
public static void SaveFromMemory(PixelBuffer[] pixelBuffers, int count, ImageDescription description, Stream imageStream)
Parameters
Type | Name | Description |
---|---|---|
PixelBuffer[] | pixelBuffers | |
System.Int32 | count | |
ImageDescription | description | |
System.IO.Stream | imageStream |