Fove SDK  v1.1.0
Public Member Functions | Public Attributes | List of all members
Fove_GLTexture Struct Reference

Struct used to submit an OpenGL texture. More...

#include <FoveAPI.h>

Inheritance diagram for Fove_GLTexture:
Inheritance graph
[legend]
Collaboration diagram for Fove_GLTexture:
Collaboration graph
[legend]

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...
 

Detailed Description

Struct used to submit an OpenGL texture.

The GL context must be active on the thread that submits this.