#include <TextureContainerActions.h>
Inheritance diagram for OpenGL::TextureDumper:
Public Member Functions | |
TextureDumper (TextureContainer *container) | |
std::string | run (const std::vector< std::string > ¶meters) |
The run() function can be called with the following argument:
"<texture> <channel>" - calls dumpTexture() and returns the texture dump as a string.
<texture> must be a valid texture number of the TextureContainer instance.
<channel> must be a character with value 'r', 'g', 'b', or 'a'.
|
Creates a TextureDumper for the given TextureContainer.
|
|
Implementation of handle, must be supplied by concrete subclasses.
Implements Console::Action. |