dtCore::SkyBox::FixedFunctionProfile Class Reference

this render profile will render the skybox as usual with the fixed function pipeline More...

#include <skybox.h>

Inheritance diagram for dtCore::SkyBox::FixedFunctionProfile:

dtCore::SkyBox::RenderProfile

List of all members.

Public Member Functions

 FixedFunctionProfile ()
void Config (osg::Group *pNode)
 Private method that actually creates the SkyBox geometry.
void SetTexture (SkyBox::SkyBoxSideEnum side, const std::string &filename)
 Pass in the filenames for the textures to be applied to the SkyBox.

Protected Member Functions

osg::Node * MakeBox ()
 Make the box and load the textures.

Protected Attributes

dtCore::RefPtr< osg::Geode > mGeode
dtCore::RefPtr
< dtCore::MoveEarthySkyWithEyePointTransform
mXform
dtCore::RefPtr< osg::Texture2D > mTextureList [6]


Detailed Description

this render profile will render the skybox as usual with the fixed function pipeline

Constructor & Destructor Documentation

SkyBox::FixedFunctionProfile::FixedFunctionProfile (  ) 


Member Function Documentation

void dtCore::SkyBox::FixedFunctionProfile::Config ( osg::Group *  pNode  )  [virtual]

Private method that actually creates the SkyBox geometry.

It is assumed that the textures have already been assigned.

Implements dtCore::SkyBox::RenderProfile.

void dtCore::SkyBox::FixedFunctionProfile::SetTexture ( SkyBox::SkyBoxSideEnum  side,
const std::string &  filename 
) [virtual]

Pass in the filenames for the textures to be applied to the SkyBox.

Implements dtCore::SkyBox::RenderProfile.

osg::Node * dtCore::SkyBox::FixedFunctionProfile::MakeBox (  )  [protected]

Make the box and load the textures.


Member Data Documentation

dtCore::RefPtr<osg::Geode> dtCore::SkyBox::FixedFunctionProfile::mGeode [protected]

dtCore::RefPtr<dtCore::MoveEarthySkyWithEyePointTransform> dtCore::SkyBox::FixedFunctionProfile::mXform [protected]

dtCore::RefPtr<osg::Texture2D> dtCore::SkyBox::FixedFunctionProfile::mTextureList[6] [protected]


http://www.delta3d.org
2.0.0 generated 14 Feb 2008