CrystalSpace

Public API Reference

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:

Generated for Crystal Space 2.1 by doxygen 1.6.1