7 #ifndef GlobeEngine_ScreenSpaceDecal_h
8 #define GlobeEngine_ScreenSpaceDecal_h
23 void draw(std::shared_ptr<ge::Camera> _cam,
int _mode,
float _sliceNumber = 0.0);
26 this->gBufferHandle = _gBufferHandle;
30 this->viewport = _viewport;
34 this->texture2D = _textureHandle;
38 this->texture3D = _textureHandle;
45 std::shared_ptr<ge::TextureHandle> gBufferHandle;
46 vmml::Vector2i viewport;
void draw(std::shared_ptr< ge::Camera > _cam, int _mode, float _sliceNumber=0.0)
Definition: ScreenSpaceDecal.cpp:13
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: Cube.cpp:55
void setTexture3D(GLuint _textureHandle)
Definition: ScreenSpaceDecal.h:37
virtual void draw(std::shared_ptr< ge::Camera > _cam)
Definition: DrawableComponent.cpp:76
void setGBufferHandle(std::shared_ptr< ge::TextureHandle > _gBufferHandle)
Definition: ScreenSpaceDecal.h:25
Definition: ScreenSpaceDecal.h:16
Definition: AvalancheTrainingSimulationEngine.h:28
void setTexture2D(GLuint _textureHandle)
Definition: ScreenSpaceDecal.h:33
void setViewport(vmml::Vector2i _viewport)
Definition: ScreenSpaceDecal.h:29
ScreenSpaceDecal()
Definition: ScreenSpaceDecal.cpp:5
~ScreenSpaceDecal()
Definition: ScreenSpaceDecal.cpp:11