Документ взят из кэша поисковой машины. Адрес оригинального документа : http://astro.uni-altai.ru/~aw/stellarium/api/structPlanet_1_1SharedPlanetGraphics.html
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 08:03:13 2014
Кодировка:

Поисковые слова: tail
Stellarium: Planet::SharedPlanetGraphics Struct Reference
Stellarium 0.12.3
List of all members | Public Member Functions | Public Attributes
Planet::SharedPlanetGraphics Struct Reference

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 StelTextureNewtexEarthShadow
 Texture used to draw earth shadow. More...
 
class StelTextureNewtexHintCircle
 Texture used to draw planet hint. More...
 
class StelGLSLShadersimplePlanetShader
 Shader used to draw the planet (with lighting), if lighting is used and GLSL is supported. More...
 
class StelGLSLShadershadowPlanetShader
 Shader used to draw the planet (with lighting and shadowing). More...
 
class StelGLSLShaderplanetShader
 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...
 

Detailed Description

Stores graphics data that is shared between planets and must be initialized by a StelRenderer.

Definition at line 115 of file Planet.hpp.

Constructor & Destructor Documentation

Planet::SharedPlanetGraphics::SharedPlanetGraphics ( )
inline

Default constructor - construct uninitialized SharedPlanetGraphics.

Definition at line 136 of file Planet.hpp.

Planet::SharedPlanetGraphics::~SharedPlanetGraphics ( )

Destructor - frees resources if initialized.

Member Function Documentation

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.

Member Data Documentation

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.


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