![]() |
Public API Reference |
![]() |
Plugins which provide iShaderProgram should implement this as a factory for iShaderProgram. More...
#include <csplugincommon/shader/shaderplugin.h>
Public Member Functions | |
virtual bool | Precache (const char *type, const char *tag, iBase *previous, iDocumentNode *node, iHierarchicalCache *cacheTo, csRef< iBase > *outObj=0)=0 |
Warm the given cache with the program specified in node. |
Plugins which provide iShaderProgram should implement this as a factory for iShaderProgram.
Definition at line 133 of file shaderplugin.h.
virtual bool iShaderProgramPlugin::Precache | ( | const char * | type, |
const char * | tag, | ||
iBase * | previous, | ||
iDocumentNode * | node, | ||
iHierarchicalCache * | cacheTo, | ||
csRef< iBase > * | outObj = 0 |
||
) | [pure virtual] |
Warm the given cache with the program specified in node.
outObj can return an object which exposes iShaderDestinationResolver.