![]() |
KudanAR - Android
|
Inheritance diagram for ARTexture:Public Member Functions | |
| 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 | |
| int | mNativeMem |
| int | mTextureID |
An ARTexture is a class representing a texture. Textures cannot exceed 2048x2048 pixels in size.
|
inline |
Initialise an empty texture that can be loaded with an image later.
|
inline |
Binds ARTexture in OpenGL.
| unit |
|
inline |
Creates ARTexture in OpenGL.
|
inline |
Clears native ARTexture object.
|
inline |
Returns the height of the texture, in pixels.
|
inline |
Returns ARTexture's ID in OpenGL.
|
inline |
Returns the width of the texture, in pixels.
|
inline |
Loads ARTexture data.
|
inline |
Prepares renderer for drawing texture.
| unit |
|
inline |
Sets ARTexture's ID.
| textureID |