Public Types | |
| enum | source { EMPTY, IMAGE, FILE, FILES } |
Public Member Functions | |
| TextureSource () | |
| texture from file | |
| TextureSource (std::string f[6]) | |
| cube map texture from files | |
| TextureSource (const int &w, const int &h) | |
| empty texture | |
| TextureSource (Image *) | |
texture from pre-loaded Image | |
Public Attributes | |
| std::string | files [6] |
| int | height |
| Image * | image |
| source | src |
| int | width |
|
|
|
|
|
texture from pre-loaded
|
|
||||||||||||
|
empty texture
|
|
|
cube map texture from files
|
|
|
texture from file The texture name is used as the file name. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.3