Adds a texture
| <viz>.addTexture( | |
| fileName | |
| type = viz.TEX_2D | |
| flags = 0 | |
| ) |
Load Flag | Description |
viz.LOAD_ASYNC | Load the texture asynchronously. See remarks below. |
viz.CACHE_CLONE | If a texture object has already been created from the same file, the existing texture will be returned. |
viz.CACHE_COPY | If a texture object has already been created from the same file, a copy of the existing texture will be returned. |