MGCL V10
V10
MGCL V10
|
Utility class to invoke glsl's setFuncType. [詳解]
公開メンバ関数 | |
mgFuncTypeSwitcher (mgGLSL::FuncType type) | |
~mgFuncTypeSwitcher () | |
Utility class to invoke glsl's setFuncType.
mgFuncTypeSwitcher saves the current function type and invoke input function type. When mgFuncTypeSwitcher is destructed, the saved original type is restored.
mgFuncTypeSwitcher::mgFuncTypeSwitcher | ( | mgGLSL::FuncType | type | ) |
mgFuncTypeSwitcher::~mgFuncTypeSwitcher | ( | ) |