Colobot
Public Member Functions | Public Attributes | List of all members
Gfx::TextureCreateParams Struct Reference

Parameters for texture creation. More...

#include <texture.h>

Public Member Functions

 TextureCreateParams ()
 Constructor; calls LoadDefault()
 
void LoadDefault ()
 Loads the default values.
 

Public Attributes

bool mipmap
 Whether to generate mipmaps.
 
TexImgFormat format
 Format of source image data.
 
TexFilter filter
 General texture filtering mode.
 
bool padToNearestPowerOfTwo
 Pad the image to nearest power of 2 dimensions.
 

Detailed Description

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.


The documentation for this struct was generated from the following file: