57 #include "EnvMapNode.hh" 71 const std::string& _name ,
73 GLint _texture_filter)
74 :
TextureNode(_parent, _name,_texture_repeat,_texture_filter)
100 if (_state.compatibilityProfile())
117 if(_state.compatibilityProfile())
Namespace providing different geometric functions concerning angles.
EnvMapNode(BaseNode *_parent=0, const std::string &_name="<EnvMapNode>", bool _texture_repeat=true, GLint _texture_filter=GL_LINEAR)
Default constructor. Applies all properties.
DrawMode SOLID_ENV_MAPPED
draw environment mapped
static void enable(GLenum _cap, bool _warnRemoved=true)
replaces glEnable, but supports locking
static void disable(GLenum _cap, bool _warnRemoved=true)
replaces glDisable, but supports locking
void enter(GLState &_state, const DrawModes::DrawMode &_drawmode)
set texture
void enter(GLState &_state, const DrawModes::DrawMode &_drawmode)
set default texture and states for the nodes children
void enterPick(GLState &_state, PickTarget _target, const DrawModes::DrawMode &_drawMode)
Do nothing in picking.
static void setTexGenMode(GLenum _coord, GLenum _name, GLint _param)
replaces glVertexPointer, supports locking
DrawModes::DrawMode availableDrawModes() const
add env mapping
void leavePick(GLState &_state, PickTarget _target, const DrawModes::DrawMode &_drawMode)
Do nothing in picking.
void leave(GLState &_state, const DrawModes::DrawMode &_drawmode)
restores original texture (or no-texture)
PickTarget
What target to use for picking.
void leave(GLState &_state, const DrawModes::DrawMode &_drawmode)
Unbind Texture.