|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
24 #ifndef _SkyX_GPUManager_H_
25 #define _SkyX_GPUManager_H_
60 void addGroundPass(Ogre::Pass* GroundPass,
const Ogre::Real& AtmosphereRadius,
const Ogre::SceneBlendType& SBT = Ogre::SBT_ADD);
const Ogre::String getSkydomeMaterialName() const
Get skydome material name.
GpuProgram
Gpu program enum.
Ogre::MaterialPtr mSkydomeMaterial
Skydome material.
void _updateFP()
Update fragment program materials.
void _setTextureHWGammaCorrection(const Ogre::String &n, const bool &g)
Set texture HW gamma correction.
void setGpuProgramParameter(const GpuProgram &GpuP, const Ogre::String &Name, const int &Value, const bool &UpdateGroundPasses=true)
Set gpu program int parameter.
SkyX * mSkyX
SkyX parent pointer.
std::vector< Ogre::Pass * > mGroundPasses
Ground pass vector.
void addGroundPass(Ogre::Pass *GroundPass, const Ogre::Real &AtmosphereRadius, const Ogre::SceneBlendType &SBT=Ogre::SBT_ADD)
Add ground pass (Use for atmospheric scattering effect on the terrain)
const Ogre::String getMoonMaterialName() const
Get moon material name.
void _notifySkydomeMaterialChanged()
Notify skydome material changed.
#define SkyXLOG(msg)
Include external headers.
GPUManager(SkyX *s)
Constructor.