![]() |
KudanAR - Android
1.6.0
|
Inherits ARTexture.
Inherited by ARVideoTexture.
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 | loadData () |
| int | getTextureID () |
| void | setTextureID (int textureID) |
| int | getWidth () |
| int | getHeight () |
Protected Attributes | |
| SurfaceTexture | mSurfaceTexture |
Protected Attributes inherited from ARTexture | |
| long | mNativeMem |
| int | mTextureID |
A class representing OpenGL ES textures which are updated from an image stream.
| ARTextureOES.ARTextureOES | ( | int | textureID | ) |
Initialises ARTextureOES with texture unit.
| textureID | Texture unit. |
| ARTextureOES.ARTextureOES | ( | ) |
Initialises empty ARTextureOES.
| void ARTextureOES.bindTexture | ( | int | unit | ) |
| SurfaceTexture ARTextureOES.getSurfaceTexture | ( | ) |
Returns ARTextureOES's surface texture.
| void ARTextureOES.prepareRenderer | ( | int | unit | ) |
Prepares renderer to render ARTextureOES.
| unit | Texture unit. |
Reimplemented from ARTexture.
Reimplemented in ARVideoTexture.
| void ARTextureOES.setSurfaceTexture | ( | SurfaceTexture | surfaceTexture | ) |
Sets ARTextureOES's surface texture.