Stellarium 0.13.0
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)
 

Public Attributes

bool generateMipmaps
 Define if mipmaps must be created. 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 56 of file StelTexture.hpp.

bool StelTexture::StelTextureParams::generateMipmaps

Define if mipmaps must be created.

Definition at line 54 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 58 of file StelTexture.hpp.


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