Stellarium 0.11.4
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure

StelTexture::StelTextureParams Struct Reference

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

#include <StelTexture.hpp>

List of all members.

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.
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.

Detailed Description

Contains the parameters defining how a texture is created.


Member Data Documentation

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

Define if mipmaps must be created.

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

Generated on Sat Aug 25 22:13:33 2012 for Stellarium by  doxygen 1.6.3