]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/sky/oursun.hxx
Expose the sun halo texture handle.
[simgear.git] / simgear / scene / sky / oursun.hxx
index 3c33fd73405f6e62076f34d14b447f8ffa01026d..57d4b0cb906633b49a46c60801413de9a8a64239 100644 (file)
@@ -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(); }
 };