This reference page is linked to from the following overview topics: Obtaining Shader Parameters.
A mini Max class descriptor. This is purely to instantiate multiple objects, and query the Parser ID for the DLL.
#include <RTMax.h>
Public Member Functions |
|
virtual | ~EffectDescriptor () |
Destructor. |
|
virtual IEffectParser * | CreateParser ()=0 |
Called by the system to create an instance
of the parser. |
|
virtual ULONG | GetParserID ()=0 |
The unique ID that is used in the effect
file. |
|
virtual const MCHAR * | GetParserFileFilterName ()=0 |
The string to go along with the extension
supported to be displayed in the Open Dialog box. |
|
virtual const MCHAR * | GetParserFileExtension ()=0 |
Get the support file extension for the
parser. |
virtual ~EffectDescriptor | ( | ) | [inline, virtual] |
Destructor.
{;}
virtual IEffectParser* CreateParser | ( | ) | [pure virtual] |
Called by the system to create an instance of the parser.
virtual ULONG GetParserID | ( | ) | [pure virtual] |
The unique ID that is used in the effect file.
The system will look at the effect file and then will get the ID. it will then use this ID to query for a parser
virtual const MCHAR* GetParserFileFilterName | ( | ) | [pure virtual] |
The string to go along with the extension supported to be displayed in the Open Dialog box.
This should be in the form "Microsoft Direct3D Effects"
virtual const MCHAR* GetParserFileExtension | ( | ) | [pure virtual] |
Get the support file extension for the parser.
The system will filter "like" extensions. This is only used for the open dialog box. The ParamID is still used to define the actual parser to use. THe string should be in the form "*.fx"