Fove SDK
v1.1.0
|
Struct used to submit an OpenGL texture. More...
#include <FoveAPI.h>
Public Member Functions | |
Fove_GLTexture (const uint32_t tid=0, void *const c=nullptr) | |
Public Attributes | |
void * | context = nullptr |
On mac, this is a CGLContextObj, otherwise this field is reserved and you must pass null. | |
uint32_t | textureId = 0 |
The OpenGl ID of the texture, as returned by glGenTextures. | |
Public Attributes inherited from Fove_CompositorTexture | |
Fove_GraphicsAPI | graphicsAPI |
Rendering API of this texture. More... | |
Struct used to submit an OpenGL texture.
The GL context must be active on the thread that submits this.