MemBufferCollection::getColorformat Method |
||
Returns the color format (organization of one pixel) of the image data stored in this collection. This method returns an undefined value, if the collection is not initialized. Use MemBufferCollection::getLastError in order to determine whether the returned color format is valid or not. | ||
Syntax: | tColorformatEnum getColorformat() const; |
|
Return value: | The color format, as a tColorformatEnum, which was passed to the object during initialization. |
|
Remarks: | This method returns an undefined value, if the collection is not initialized. Use MemBufferCollection::getLastError in order to determine whether the returned color format is valid or not. |
|
See also: | MemBufferCollection, MemBufferCollection::getBitsPerPixel |