Click or drag to resize
Ab4d.SharpEngine logo

BitmapLoadOptions Fields

The BitmapLoadOptions type exposes the following members.

Fields
 NameDescription
Public fieldConvertToSupportedFormat When true (the default), the loaded images are converted into a format that is supported by the engine (i.e., 32 bit BGRA or RGBA format). When false, the loader attempts to preserve the format of the bitmap (for example, 8 bit for grayscale); note that this is not guaranteed, and that loader may still convert the image to BGRA format. Also note that the image in the original format may not be correctly displayed by the engine.
Public fieldPremultiplyAlpha When true (the default), the R, G, and B channel data is pre-multiplied with alpha values (either at the loader level, or in postprocessing). When false, the image data is returned as-is.
Top
See Also