public:
/**
- * Enumeration to tell that this sampler does not have a unique index yet
- */
- enum
- {
- NOT_INITIALIZED = -1
- };
-
- /**
* Constructor
*/
Texture()
public: // called from RenderThread
/**
- * @param[in] buffer A vector wit
* Get the texture ID
* @return the id of the associated texture
*/
void Destroy( Context& context );
/**
+ * Called by RenderManager to inform the texture that the context has been destroyed
+ */
+ void GlContextDestroyed();
+
+ /**
* Uploads data to the texture.
* @param[in] context The GL context
* @param[in] pixelData A pixel data object