OpenGL::TextureDumper Class Reference

#include <TextureContainerActions.h>

Inheritance diagram for OpenGL::TextureDumper:

OpenGL::TextureContainerAction Console::Action List of all members.

Public Member Functions

 TextureDumper (TextureContainer *container)
std::string run (const std::vector< std::string > &parameters)

Detailed Description

Represents a texture dumper action for a specified TextureContainer instance.

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'.


Constructor & Destructor Documentation

OpenGL::TextureDumper::TextureDumper TextureContainer container  ) 
 

Creates a TextureDumper for the given TextureContainer.

Parameters:
container the TextureContainer to affect.


Member Function Documentation

std::string OpenGL::TextureDumper::run const std::vector< std::string > &  parameters  )  [virtual]
 

Implementation of handle, must be supplied by concrete subclasses.

Parameters:
parameters the action's parameters.
Returns:
the result of the action.

Implements Console::Action.


The documentation for this class was generated from the following files:
Generated on Fri Jun 16 08:42:54 2006 for GPU Thesis by  doxygen 1.4.6-NO