#include <ugdk/graphic/manager.h>
Enumerator |
---|
USE_LIGHT_BUFFER |
|
IGNORE_TEXTURE_COLOR |
|
NUM_FLAGS |
|
void ugdk::graphic::Manager::Shaders::ChangeFlag |
( |
Flag |
, |
|
|
bool |
|
|
) |
| |
const ShaderProgram* ugdk::graphic::Manager::Shaders::current_shader |
( |
| ) |
const |
const ShaderProgram* ugdk::graphic::Manager::Shaders::GetSpecificShader |
( |
const std::bitset< NUM_FLAGS > & |
flags | ) |
const |
bool ugdk::graphic::Manager::Shaders::IsFlagSet |
( |
Flag |
| ) |
const |
void ugdk::graphic::Manager::Shaders::ReplaceShader |
( |
const std::bitset< NUM_FLAGS > & |
flags, |
|
|
ShaderProgram * |
program |
|
) |
| |
Replace the ShaderProgram UGDK uses for the given combination of flags.
- flags A STL bitset containing the flags.
- program The ShaderProgram to use. This assumes you're passing the ownership of the object.
void ugdk::graphic::Manager::Shaders::ReplaceShader |
( |
unsigned long |
flags, |
|
|
ShaderProgram * |
program |
|
) |
| |
|
inline |
void ugdk::graphic::Manager::Shaders::ReplaceShader |
( |
const std::string & |
flags, |
|
|
ShaderProgram * |
program |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file:
- modules/ugdk-2d/include/ugdk/graphic/manager.h