Stellarium 0.13.3
List of all members | Public Member Functions | Public Attributes
StelTexture::StelTextureParams Struct Reference

Contains the parameters defining how a texture is created. More...

#include <StelTexture.hpp>

Public Member Functions

 StelTextureParams (bool qgenerateMipmaps=false, GLint afiltering=GL_LINEAR, GLint awrapMode=GL_CLAMP_TO_EDGE, bool qfilterMipmaps=false)
 

Public Attributes

bool generateMipmaps
 Define if mipmaps must be created. More...
 
bool filterMipmaps
 If true, mipmapped textures are filtered with GL_LINEAR_MIPMAP_LINEAR instead of GL_LINEAR_MIPMAP_NEAREST (i.e. enabling "trilinear" filtering) More...
 
GLint filtering
 Define the scaling filter to use. Must be one of GL_NEAREST or GL_LINEAR. More...
 
GLint wrapMode
 Define the wrapping mode to use. Must be one of GL_CLAMP_TO_EDGE, or GL_REPEAT. More...
 

Detailed Description

Contains the parameters defining how a texture is created.

Definition at line 47 of file StelTexture.hpp.

Member Data Documentation

GLint StelTexture::StelTextureParams::filtering

Define the scaling filter to use. Must be one of GL_NEAREST or GL_LINEAR.

Definition at line 59 of file StelTexture.hpp.

bool StelTexture::StelTextureParams::filterMipmaps

If true, mipmapped textures are filtered with GL_LINEAR_MIPMAP_LINEAR instead of GL_LINEAR_MIPMAP_NEAREST (i.e. enabling "trilinear" filtering)

Definition at line 57 of file StelTexture.hpp.

bool StelTexture::StelTextureParams::generateMipmaps

Define if mipmaps must be created.

Definition at line 55 of file StelTexture.hpp.

GLint StelTexture::StelTextureParams::wrapMode

Define the wrapping mode to use. Must be one of GL_CLAMP_TO_EDGE, or GL_REPEAT.

Definition at line 61 of file StelTexture.hpp.


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