#include <command.h>
Inheritance diagram for CommandRenderPath:


Public Member Functions | |
| CommandRenderPath (GLContext::GLRenderPath) | |
| void | process (ExecutionEnvironment &) |
Private Attributes | |
| GLContext::GLRenderPath | path |
|
|
Definition at line 718 of file command.cpp. 00718 : 00719 path(_path) 00720 { 00721 }
|
|
|
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 }
|
|
|
Definition at line 524 of file command.h. Referenced by process(). |
1.4.1