#include <OgreGLES2Texture.h>
Definition at line 41 of file OgreGLES2Texture.h.
Used to hold images between calls to prepare and load.
Definition at line 85 of file OgreGLES2Texture.h.
virtual Ogre::GLES2Texture::~GLES2Texture |
( |
| ) |
|
|
virtual |
void Ogre::GLES2Texture::_createGLTexResource |
( |
| ) |
|
|
protected |
void Ogre::GLES2Texture::_createSurfaceList |
( |
| ) |
|
|
protected |
Internal method, create GLHardwarePixelBuffers for every face and mipmap level.
This method must be called after the GL texture object was created, the number of mipmaps was set (GL_TEXTURE_MAX_LEVEL) and glTexImageXD was called to actually allocate the buffer
void Ogre::GLES2Texture::createInternalResourcesImpl |
( |
void |
| ) |
|
|
protected |
Implementation of creating internal texture resources.
void Ogre::GLES2Texture::createRenderTexture |
( |
| ) |
|
void Ogre::GLES2Texture::freeInternalResourcesImpl |
( |
void |
| ) |
|
|
protected |
Implementation of freeing internal texture resources.
Return hardware pixel buffer for a surface.
This buffer can then be used to copy data from and to a particular level of the texture.
- Parameters
-
face | Face number, in case of a cubemap texture. Must be 0 for other types of textures. For cubemaps, this is one of +X (0), -X (1), +Y (2), -Y (3), +Z (4), -Z (5) |
mipmap | Mipmap level. This goes from 0 for the first, largest mipmap level to getNumMipmaps()-1 for the smallest. |
- Returns
- A shared pointer to a hardware pixel buffer
void Ogre::GLES2Texture::getCustomAttribute |
( |
const String & |
name, |
|
|
void * |
pData |
|
) |
| |
GLenum Ogre::GLES2Texture::getGLES2TextureTarget |
( |
void |
| ) |
const |
GLuint Ogre::GLES2Texture::getGLID |
( |
| ) |
const |
|
inline |
void Ogre::GLES2Texture::loadImpl |
( |
void |
| ) |
|
|
protected |
Internal implementation of the meat of the 'load' action, only called if this resource is not being loaded from a ManualResourceLoader.
virtual void Ogre::GLES2Texture::notifyOnContextLost |
( |
| ) |
|
|
protectedvirtual |
virtual void Ogre::GLES2Texture::notifyOnContextReset |
( |
| ) |
|
|
protectedvirtual |
void Ogre::GLES2Texture::prepareImpl |
( |
void |
| ) |
|
|
protected |
Internal implementation of the meat of the 'prepare' action.
void Ogre::GLES2Texture::unprepareImpl |
( |
void |
| ) |
|
|
protected |
Internal function for undoing the 'prepare' action.
Called when the load is completed, and when resources are unloaded when they are prepared but not yet loaded.
Vector of images that were pulled from disk by prepareLoad but have yet to be pushed into texture memory by loadImpl.
Images should be deleted by loadImpl and unprepareImpl.
Definition at line 91 of file OgreGLES2Texture.h.
GLuint Ogre::GLES2Texture::mTextureID |
|
private |
The documentation for this class was generated from the following file: