Hi all,
My intent is to integrate Unigine engine into existing multimedia framework. I hope this is the right place for this question.
To make proof of concept application I need to find a way to load image/texture into engine. There is a Image class mentioned in script reference and in C++ API reference. I am guessing that Image object needs to be initialized with pixel data somehow.
Only exposed methods are:
int load(const char * name)
int load(const char * name, int offset)
The question is how to create image from pixel-data produced from external c++ code ?
Is there some API function like `glTexImage2D` or `glTexSubImage2D` ?