Support Forum G3D Web Page |
Image conversion utility methods. More...
Static Public Member Functions | |
static shared_ptr< PixelTransferBuffer > | convertBuffer (const shared_ptr< PixelTransferBuffer > &src, const ImageFormat *dstFormat) |
Converts image buffer to another format if supported, otherwise returns null ref. More... | |
Image conversion utility methods.
|
static |
Converts image buffer to another format if supported, otherwise returns null ref.
If no conversion is necessary then src reference is returned and a new buffer is NOT created.