Stellarium
0.18.3
|
Contains the parameters defining how a texture is created.
#include <StelTexture.hpp>
Public Member Functions | |
StelTextureParams (bool qgenerateMipmaps=false, GLint afiltering=GL_LINEAR, GLint awrapMode=GL_CLAMP_TO_EDGE, bool qfilterMipmaps=false) | |
Data Fields | |
bool | generateMipmaps |
Define if mipmaps must be created. | |
bool | filterMipmaps |
If true, mipmapped textures are filtered with GL_LINEAR_MIPMAP_LINEAR instead of GL_LINEAR_MIPMAP_NEAREST (i.e. enabling "trilinear" filtering) | |
GLint | filtering |
Define the scaling filter to use. Must be one of GL_NEAREST or GL_LINEAR. | |
GLint | wrapMode |
Define the wrapping mode to use. Must be one of GL_CLAMP_TO_EDGE, or GL_REPEAT. | |