Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
List of all members
AndroidGraphicBufferBase Class Reference

#include <AndroidGraphicBufferBase.inl.h>

Inherited by AndroidGraphicBuffer, and AndroidGraphicBufferN.

Detailed Description

This class allows access to Android's direct texturing mechanism. Locking the buffer gives you a pointer you can read/write to directly. It is fully threadsafe, but you probably really want to use the AndroidDirectTexture class which will handle double buffering.

In order to use the buffer in OpenGL, just call Bind() and it will attach to whatever texture is bound to GL_TEXTURE_2D.

The documentation for this class was generated from the following file: