iShaderProgramPlugin Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
iShaderProgramPlugin Struct Reference
Common Plugin Classes

Plugins which provide iShaderProgram should implement this as a factory for iShaderProgram. More...

`#include <csplugincommon/shader/shaderplugin.h>`

Inheritance diagram for iShaderProgramPlugin:

List of all members.

## 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.

## Detailed Description

Plugins which provide iShaderProgram should implement this as a factory for iShaderProgram.

Definition at line 133 of file shaderplugin.h.

## Member Function Documentation

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.

The documentation for this struct was generated from the following file:

- csplugincommon/shader/shaderplugin.h