|
Colobot
|
Parameters for texture creation. More...
#include <texture.h>
Public Member Functions | |
| void | LoadDefault () |
| Loads the default values. | |
Public Attributes | |
| bool | mipmap = false |
| Whether to generate mipmaps. | |
| TexImgFormat | format = TEX_IMG_RGB |
| Format of source image data. | |
| TexFilter | filter = TEX_FILTER_NEAREST |
| General texture filtering mode. | |
| bool | padToNearestPowerOfTwo = false |
| Pad the image to nearest power of 2 dimensions. | |
Parameters for texture creation.
These params define how particular texture is created and later displayed. They must be specified at texture creation time and cannot be changed later.
1.8.9.1