30 #ifndef __GLESHardwarePixelBuffer_H__
31 #define __GLESHardwarePixelBuffer_H__
44 void unlockImpl(
void);
53 void allocateBuffer();
61 virtual void download(
const PixelBox &data);
79 virtual void bindToFramebuffer(GLenum attachment,
size_t zoffset);
89 GLESTextureBuffer(
const String &baseName, GLenum target, GLuint
id, GLint width, GLint height, GLint internalFormat,
90 GLenum format, GLint face, GLint level,
Usage usage,
bool softwareMipmap,
bool writeGamma,
uint fsaa);
94 virtual void bindToFramebuffer(GLenum attachment,
size_t zoffset);
103 virtual void download(
const PixelBox &data);
111 mSliceTRT[zoffset] = 0;
115 void copyFromFramebuffer(
size_t zoffset);
122 #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
127 void updateTextureId(GLuint textureID);
142 void buildMipmaps(
const PixelBox &data);
150 GLESRenderBuffer(GLenum format,
size_t width,
size_t height, GLsizei numSamples);
154 virtual void bindToFramebuffer(GLenum attachment,
size_t zoffset);
This class represents a RenderTarget that renders to a Texture.
LockOptions mCurrentLockOptions
void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
Structure used to define a box in a 3-D integer space.
PixelFormat
The pixel format used for images, textures, and render surfaces.
Usage
Enums describing buffer usage; not mutually exclusive.
Shared pointer implementation used to share pixel buffers.
Specialisation of HardwareBuffer for a pixel buffer.
A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.
std::vector< RenderTexture * > SliceTRT