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
GLint filtering
GLint wrapMode


Detailed Description

Contains the parameters defining how a texture is created.

Member Data Documentation

Define if mipmaps must be created.

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

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


Generated on Mon Mar 22 09:55:39 2010 for Stellarium by  doxygen 1.5.5