Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

CommandRenderPath Class Reference

#include <command.h>

Inheritance diagram for CommandRenderPath:

Inheritance graph
Collaboration diagram for CommandRenderPath:

Collaboration graph
List of all members.

Public Member Functions

 CommandRenderPath (GLContext::GLRenderPath)
void process (ExecutionEnvironment &)

Private Attributes

GLContext::GLRenderPath path

Constructor & Destructor Documentation

CommandRenderPath::CommandRenderPath GLContext::GLRenderPath   ) 
 

Definition at line 718 of file command.cpp.

00718                                                                 :
00719     path(_path)
00720 {
00721 }


Member Function Documentation

void CommandRenderPath::process ExecutionEnvironment  )  [virtual]
 

Implements InstantaneousCommand.

Definition at line 723 of file command.cpp.

References Renderer::getGLContext(), path, and GLContext::setRenderPath().

00724 {
00725     GLContext* context = env.getRenderer()->getGLContext();
00726 
00727     if (context != NULL)
00728     {
00729         context->setRenderPath(path);
00730         env.getCelestiaCore()->notifyWatchers(CelestiaCore::RenderFlagsChanged);
00731     }
00732 }


Member Data Documentation

GLContext::GLRenderPath CommandRenderPath::path [private]
 

Definition at line 524 of file command.h.

Referenced by process().


The documentation for this class was generated from the following files:
Generated on Sat Jan 14 22:33:14 2006 for Celestia by  doxygen 1.4.1