Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/structPlanet_1_1SharedPlanetGraphics.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 08:03:13 2014 Кодировка: Поисковые слова: molecular cloud |
![]() |
Stellarium 0.12.3
|
Stores graphics data that is shared between planets and must be initialized by a StelRenderer. More...
#include <Planet.hpp>
Public Member Functions | |
SharedPlanetGraphics () | |
Default constructor - construct uninitialized SharedPlanetGraphics. More... | |
~SharedPlanetGraphics () | |
Destructor - frees resources if initialized. More... | |
void | lazyInit (class StelRenderer *renderer) |
Lazily initialize the data, using given renderer to create textures/shader. More... | |
bool | loadPlanetShaders (StelRenderer *renderer) |
Loads the shaders. More... | |
Public Attributes | |
class StelTextureNew * | texEarthShadow |
Texture used to draw earth shadow. More... | |
class StelTextureNew * | texHintCircle |
Texture used to draw planet hint. More... | |
class StelGLSLShader * | simplePlanetShader |
Shader used to draw the planet (with lighting), if lighting is used and GLSL is supported. More... | |
class StelGLSLShader * | shadowPlanetShader |
Shader used to draw the planet (with lighting and shadowing). More... | |
class StelGLSLShader * | planetShader |
Currently used shader, one of the two above. More... | |
bool | initialized |
Are we initialized yet? More... | |
ShadowPlanetShaderInfo | info |
Information for the shadow planet shader. More... | |
Stores graphics data that is shared between planets and must be initialized by a StelRenderer.
Definition at line 115 of file Planet.hpp.
|
inline |
Default constructor - construct uninitialized SharedPlanetGraphics.
Definition at line 136 of file Planet.hpp.
Planet::SharedPlanetGraphics::~SharedPlanetGraphics | ( | ) |
Destructor - frees resources if initialized.
void Planet::SharedPlanetGraphics::lazyInit | ( | class StelRenderer * | renderer | ) |
Lazily initialize the data, using given renderer to create textures/shader.
bool Planet::SharedPlanetGraphics::loadPlanetShaders | ( | StelRenderer * | renderer | ) |
Loads the shaders.
ShadowPlanetShaderInfo Planet::SharedPlanetGraphics::info |
Information for the shadow planet shader.
Definition at line 133 of file Planet.hpp.
bool Planet::SharedPlanetGraphics::initialized |
Are we initialized yet?
Definition at line 130 of file Planet.hpp.
class StelGLSLShader* Planet::SharedPlanetGraphics::planetShader |
Currently used shader, one of the two above.
Definition at line 127 of file Planet.hpp.
class StelGLSLShader* Planet::SharedPlanetGraphics::shadowPlanetShader |
Shader used to draw the planet (with lighting and shadowing).
Definition at line 124 of file Planet.hpp.
class StelGLSLShader* Planet::SharedPlanetGraphics::simplePlanetShader |
Shader used to draw the planet (with lighting), if lighting is used and GLSL is supported.
Definition at line 122 of file Planet.hpp.
class StelTextureNew* Planet::SharedPlanetGraphics::texEarthShadow |
Texture used to draw earth shadow.
Definition at line 118 of file Planet.hpp.
class StelTextureNew* Planet::SharedPlanetGraphics::texHintCircle |
Texture used to draw planet hint.
Definition at line 120 of file Planet.hpp.