Toolkit.UseImageWithContent

Toolkit.UseImageWithContent method

Creates or reuses an GlbImage with the image content set by image

public static ImageGlb UseImageWithContent(this GlbData root, MemoryImage image)
ParameterTypeDescription
rootGlbDataThe GlbImage root instance.
imageMemoryImageA buffer containing the bytes of the image file.

Return Value

A GlbImage instance.

See Also