![]() |
Public API Reference |
![]() |
Interface to allow resolution of friendly destination names. More...
#include <csplugincommon/shader/shaderplugin.h>
Public Member Functions | |
virtual int | ResolveTU (const char *binding)=0 |
When the destination of a texture binding wasn't recognized, the FP is asked whether it can provide a TU number for it. |
Interface to allow resolution of friendly destination names.
Passed when a shader program is loaded, used to resolve unknown texture unit names etc.
Definition at line 52 of file shaderplugin.h.
virtual int iShaderDestinationResolver::ResolveTU | ( | const char * | binding | ) | [pure virtual] |
When the destination of a texture binding wasn't recognized, the FP is asked whether it can provide a TU number for it.
Implemented in csShaderProgram.