Expose the sun halo texture handle.
This commit is contained in:
parent
0cd4d44bd3
commit
b3770cd26c
@ -79,6 +79,9 @@ public:
|
||||
|
||||
// retrun the current color of the sun
|
||||
inline float *get_color() { return cl->get( 0 ); }
|
||||
|
||||
// return the texture id of the sun halo texture
|
||||
inline GLuint get_texture_id() { return halo_state->getTextureHandle(); }
|
||||
};
|
||||
|
||||
|
||||
|
@ -380,6 +380,11 @@ public:
|
||||
*/
|
||||
inline float *get_sun_color() { return oursun->get_color(); }
|
||||
|
||||
/**
|
||||
* Get the sun halo texture handle
|
||||
*/
|
||||
inline GLuint get_sun_texture_id() { return oursun->get_texture_id(); }
|
||||
|
||||
|
||||
/**
|
||||
* Add a cloud layer.
|
||||
|
Loading…
Reference in New Issue
Block a user