Sack Library Documentation
|
Parameters |
Description |
_32 width |
the width of the data in pixels. |
data |
Pointer to a buffer of 32 bit color data. ARGB and ABGR available via compile option. |
height |
the height of the data in pixels. |
Create or recreate an image using the specified color buffer, and size. All sub-images have their color data reference updated.
If the source image is NULL, a new image will be built using the color buffer and size specified.
Image.flags has IF_FLAG_EXTERN_COLORS set if made this way, since the color buffer is an external resource. This causes UnmakeImage() to not attempt to free the color buffer.
If the original image does exist, its color buffer is swapped for the one specified, and coordinates are updated. The video system uses this to create an image that has the color data surface the surface of the display.
GetDisplayImage
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|