#include <FCDEffectTechnique.h>
Inheritance diagram for FCDEffectTechnique:
Public Member Functions | |
FCDEffectTechnique (FCDocument *document, FCDEffectProfileFX *_parent) | |
Constructor: do not use directly. | |
virtual | ~FCDEffectTechnique () |
Destructor: do not use directly. | |
FCDEffectProfileFX * | GetParent () |
Retrieves the effect profile that contains this technique. | |
const FCDEffectProfileFX * | GetParent () const |
See above. | |
const string & | GetDaeId () const |
Retrieves the COLLADA id of the parent effect. | |
const fstring & | GetName () const |
Retrieves the sub-id of the technique. | |
void | SetName (const fstring &_name) |
Sets the sub-id of the technique. | |
FCDEffectPassList & | GetPassList () |
Retrieves the list of passes. | |
const FCDEffectPassList & | GetPassList () const |
See above. | |
size_t | GetPassCount () const |
Retrieves the number of passes contained within this effect technique. | |
FCDEffectPass * | GetPass (size_t index) |
Retrieves a specific pass contained within this effect technique. | |
const FCDEffectPass * | GetPass (size_t index) const |
See above. | |
FCDEffectPass * | AddPass () |
Adds a new pass to this effect technique. | |
void | ReleasePass (FCDEffectPass *pass) |
Releases a pass contaied within this effect technique. | |
FCDEffectCodeList & | GetCodeList () |
Retrieves the list of code inclusions. | |
const FCDEffectCodeList & | GetCodeList () const |
See above. | |
size_t | GetCodeCount () const |
Retrieves the number of code inclusions contained within the effect profile. | |
FCDEffectCode * | GetCode (size_t index) |
Retrieves a code inclusion contained within the effect profile. | |
const FCDEffectCode * | GetCode (size_t index) const |
See above. | |
FCDEffectCode * | FindCode (const string &sid) |
Retrieves the code inclusion with the given sub-id. | |
const FCDEffectCode * | FindCode (const string &sid) const |
See above. | |
FCDEffectCode * | AddCode () |
Adds a new code inclusion to this effect profile. | |
void | ReleaseCode (FCDEffectCode *code) |
Releases a code inclusion contained within this effect profile. | |
FCDEffectParameterList * | GetParameterList () |
Retrieves the list of effect parameters contained within the effect profile. | |
const FCDEffectParameterList * | GetParameterList () const |
See above. | |
void | AddParameter (FCDEffectParameter *parameter) |
[INTERNAL] Inserts an existing parameter into the list of effect parameters at this abstraction level. | |
const FCDEffectParameter * | FindParameter (const char *reference) const |
Retrieves an effect parameter. | |
virtual FCDEffectParameter * | FindParameterBySemantic (const string &semantic) |
Retrieves an effect parameter. | |
virtual void | FindParametersBySemantic (const string &semantic, FCDEffectParameterList ¶meters) |
Retrieves a subset of the effect parameter list. | |
virtual void | FindParametersByReference (const string &reference, FCDEffectParameterList ¶meters) |
Retrieves a subset of the effect parameter list. | |
FCDEffectTechnique * | Clone (FCDEffectProfileFX *newParent) |
[INTERNAL] Clones the full effect technique. | |
void | Flatten () |
[INTERNAL] Flattens this effect technique. | |
FUStatus | LoadFromXML (xmlNode *techniqueNode, xmlNode *profileNode) |
[INTERNAL] Reads in the effect technique from a given COLLADA XML tree node. | |
xmlNode * | WriteToXML (xmlNode *parentNode) const |
[INTERNAL] Writes out the effect technique to the given COLLADA XML tree node. |
The COLLADA effect technique contains the passes to be used in the rendering of polygon sets.
It also contains a list of effect parameters: both generators and overrides and it is the lowest level of abstraction in which you can access effect parameters. For flattened materials, this means that all the effect parameters will be accessible at this level.
It also contains a list of effect code inclusions.
|
Constructor: do not use directly. Instead, use the FCDEffectProfileFX::AddTechnique function.
|
|
Destructor: do not use directly. Instead, use the FCDEffectProfileFX::ReleaseTechnique function. |
|
Adds a new code inclusion to this effect profile.
|
|
[INTERNAL] Inserts an existing parameter into the list of effect parameters at this abstraction level. This function is used during the flattening of a material.
|
|
Adds a new pass to this effect technique.
|
|
[INTERNAL] Clones the full effect technique.
|
|
Retrieves the code inclusion with the given sub-id.
|
|
Retrieves an effect parameter. Looks for the effect parameter with the correct reference, in order to bind or override its value.
|
|
Retrieves an effect parameter. Looks for the effect parameter with the correct semantic, in order to bind or override its value.
|
|
Retrieves a subset of the effect parameter list. Look for the effect parameter generators with the correct reference.
|
|
Retrieves a subset of the effect parameter list. Look for the effect parameter generators with the correct semantic.
|
|
[INTERNAL] Flattens this effect technique. Merges the parameter overrides into the parameter generators. |
|
Retrieves a code inclusion contained within the effect profile.
|
|
Retrieves the number of code inclusions contained within the effect profile.
|
|
Retrieves the list of code inclusions.
|
|
Retrieves the COLLADA id of the parent effect. This function is mostly useful as a shortcut for debugging and reporting.
|
|
Retrieves the sub-id of the technique.
|
|
Retrieves the list of effect parameters contained within the effect profile. This is the lowest level of abstraction and may contain either effect parameter generators or effect parameter overrides.
|
|
Retrieves the effect profile that contains this technique.
|
|
Retrieves a specific pass contained within this effect technique.
|
|
Retrieves the number of passes contained within this effect technique.
|
|
Retrieves the list of passes.
|
|
[INTERNAL] Reads in the effect technique from a given COLLADA XML tree node.
|
|
Releases a code inclusion contained within this effect profile.
|
|
Releases a pass contaied within this effect technique.
|
|
Sets the sub-id of the technique. The effect technique must have a valid sub-id that is unique within its scope. Otherwise, one will be provided on XML export.
|
|
[INTERNAL] Writes out the effect technique to the given COLLADA XML tree node.
|