Synopsis
Clear buffer to a color.
Format
void MbufClear(DestImageBufId, Color)
MIL_ID DestImageBufId; | Destination image buffer identifier |
long Color; | Color with which to clear buffer |
Description
This function clears the entire specified buffer to the specified color.
The DestImageBufId parameter specifies the identifier of the image buffer to clear.
The Color parameter specifies the color to use to clear the buffer with. It can be any 32-bit number. If the given color value exceeds the range of the possible colors that can be stored in the destination buffer, the least significant bits of the color value are used to clear the destination buffer.
See also