CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

iShaderTUResolver Struct Reference

Interface to allow resolution of friendly TU names. More...

#include <csplugincommon/shader/shaderplugin.h>

Inheritance diagram for iShaderTUResolver:

iBase csShaderProgram List of all members.

Public Member Functions

virtual int ResolveTextureBinding (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.

Detailed Description

Interface to allow resolution of friendly TU names.

Passed when a shader program is loaded, used to resolve unknown texture unit names etc.

Definition at line 40 of file shaderplugin.h.


Member Function Documentation

virtual int iShaderTUResolver::ResolveTextureBinding 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.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.4.4