![]() |
KudanAR - Android
|
Inheritance diagram for ARTextureOES:
Collaboration diagram for ARTextureOES:Public Member Functions | |
| void | setSurfaceTexture (SurfaceTexture surfaceTexture) |
| SurfaceTexture | getSurfaceTexture () |
| ARTextureOES (int textureID) | |
| ARTextureOES () | |
| void | bindTexture (int unit) |
| void | prepareRenderer (int unit) |
Public Member Functions inherited from ARTexture | |
| ARTexture () | |
| void | finalize () |
| void | createTexture () |
| void | bindTexture (int unit) |
| void | loadData () |
| void | prepareRenderer (int unit) |
| int | getTextureID () |
| void | setTextureID (int textureID) |
| int | getWidth () |
| int | getHeight () |
Protected Attributes | |
| SurfaceTexture | mSurfaceTexture |
Protected Attributes inherited from ARTexture | |
| int | mNativeMem |
| int | mTextureID |
A class representing OpenGL ES textures which are updated from an image stream.
|
inline |
Initialises ARTextureOES with texture unit.
| textureID | Texture unit. |
|
inline |
Initialises empty ARTextureOES.
|
inline |
Binds the texture in OpenGL.
| unit | Texture unit |
|
inline |
Returns ARTextureOES's surface texture.
|
inline |
Prepares renderer to render ARTextureOES.
| unit | Texture unit. |
|
inline |
Sets ARTextureOES's surface texture.