mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 04:58:59 -05:00
Add screenspacerenderables at runtime
This commit is contained in:
@@ -31,7 +31,7 @@ namespace openspace {
|
||||
class ScreenSpaceImage : public ScreenSpaceRenderable {
|
||||
|
||||
public:
|
||||
ScreenSpaceImage();
|
||||
ScreenSpaceImage(std::string texturePath);
|
||||
~ScreenSpaceImage();
|
||||
|
||||
void render() override;
|
||||
@@ -41,8 +41,10 @@ public:
|
||||
bool isReady() const override;
|
||||
private:
|
||||
void loadTexture();
|
||||
static int id();
|
||||
|
||||
std::unique_ptr<ghoul::opengl::Texture> _texture; // The image to render
|
||||
|
||||
};
|
||||
// int ScreenSpaceImage::id = 0;
|
||||
} //namespace openspace
|
||||
#endif //__SCREENSPACEIMAGE_H__
|
||||
Reference in New Issue
Block a user