Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/structTextureParams.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 07:32:02 2014 Кодировка: Поисковые слова: iss |
Stellarium 0.12.3
|
Parameters specifying how to construct a texture. More...
#include <StelTextureParams.hpp>
Public Member Functions | |
TextureParams () | |
Construct TextureParams with default parameters. More... | |
TextureParams & | generateMipmaps () |
If specified, mipmaps will be generated. More... | |
TextureParams & | filtering (const TextureFiltering filtering) |
Set texture filtering mode. More... | |
TextureParams & | wrap (const TextureWrap wrap) |
Set texture wrapping mode. More... | |
Public Attributes | |
bool | autoGenerateMipmaps |
Automatically generate mipmaps? More... | |
TextureFiltering | filteringMode |
Texture filtering mode. More... | |
TextureWrap | wrapMode |
Texture wrapping mode. More... | |
Parameters specifying how to construct a texture.
These are passed to StelRenderer to create a texture.
This is a builder-style struct. Parameters can be specified like this:
Definition at line 64 of file StelTextureParams.hpp.
|
inline |
Construct TextureParams with default parameters.
Default parameters are no mipmap generation, linear filtering and clamp to edge wrap mode.
Definition at line 69 of file StelTextureParams.hpp.
|
inline |
Set texture filtering mode.
Definition at line 84 of file StelTextureParams.hpp.
|
inline |
If specified, mipmaps will be generated.
Definition at line 77 of file StelTextureParams.hpp.
|
inline |
Set texture wrapping mode.
Definition at line 91 of file StelTextureParams.hpp.
bool TextureParams::autoGenerateMipmaps |
Automatically generate mipmaps?
Note that a StelRenderer backend might ignore this. (E.g. mipmaps might not be supported)
Definition at line 101 of file StelTextureParams.hpp.
TextureFiltering TextureParams::filteringMode |
Texture filtering mode.
Note that a StelRenderer backend might ignore this. (E.g. linear filtering with software renderer might be too slow)
Definition at line 107 of file StelTextureParams.hpp.
TextureWrap TextureParams::wrapMode |
Texture wrapping mode.
Definition at line 110 of file StelTextureParams.hpp.