29 #ifndef __GLES2HardwarePixelBuffer_H__ 30 #define __GLES2HardwarePixelBuffer_H__ 43 void unlockImpl(
void);
52 void allocateBuffer();
60 virtual void download(
const PixelBox &data);
78 virtual void bindToFramebuffer(GLenum attachment,
size_t zoffset);
88 GLES2TextureBuffer(
const String &baseName, GLenum target, GLuint
id, GLint width, GLint height, GLint depth, GLint internalFormat,
89 GLint format, GLint face, GLint level,
Usage usage,
bool softwareMipmap,
bool writeGamma,
uint fsaa);
93 virtual void bindToFramebuffer(GLenum attachment,
size_t zoffset);
102 virtual void download(
const PixelBox &data);
110 mSliceTRT[zoffset] = 0;
114 void copyFromFramebuffer(
size_t zoffset);
121 #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID 126 void updateTextureId(GLuint textureID);
142 void buildMipmaps(
const PixelBox &data);
150 GLES2RenderBuffer(GLenum format,
size_t width,
size_t height, GLsizei numSamples);
154 virtual void bindToFramebuffer(GLenum attachment,
size_t zoffset);
Specialisation of HardwareBuffer for a pixel buffer.
void _clearSliceRTT(size_t zoffset)
Notify TextureBuffer of destruction of render target.
PixelFormat
The pixel format used for images, textures, and render surfaces.
Structure used to define a box in a 3-D integer space.
This class represents a RenderTarget that renders to a Texture.
Usage
Enums describing buffer usage; not mutually exclusive.
Shared pointer implementation used to share pixel buffers.
LockOptions
Locking options.
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
vector< RenderTexture * >::type SliceTRT
A primitive describing a volume (3D), image (2D) or line (1D) of pixels in memory.
LockOptions mCurrentLockOptions