#include <FCDEffectTechnique.h>
Inheritance diagram for FCDEffectTechnique:
Public Member Functions | |
FCDEffectTechnique (FCDocument *document, FCDEffectProfileFX *parent) | |
Constructor: do not use directly. | |
virtual | ~FCDEffectTechnique () |
Destructor. | |
FCDEffectProfileFX * | GetParent () |
Retrieves the effect profile that contains this technique. | |
const FCDEffectProfileFX * | GetParent () const |
See above. | |
DEPRECATED (3.05A, GetParent()->GetParent()->GetDaeId) const fm | |
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. | |
DEPRECATED (3.05A, GetPassCount and GetPass(index)) void GetPassList() | |
Retrieves the list of passes. | |
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. | |
DEPRECATED (3.05A, GetCodeCount and GetCode(index) or FindCode) void GetCodeList() | |
Retrieves the list of code inclusions. | |
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 char *sid) |
Retrieves the code inclusion with the given sub-id. | |
const FCDEffectCode * | FindCode (const char *sid) const |
See above. | |
FCDEffectCode * | AddCode () |
Adds a new code inclusion to this effect profile. | |
size_t | GetEffectParameterCount () const |
Retrieves the number of local effect parameters. | |
FCDEffectParameter * | GetEffectParameter (size_t index) |
Retrieves a given local effect parameter. | |
const FCDEffectParameter * | GetEffectParameter (size_t index) const |
FCDEffectParameter * | AddEffectParameter (uint32 type) |
Adds a local effect parameter to the local list. | |
FCDEffectTechnique * | Clone (FCDEffectTechnique *clone=NULL) const |
[INTERNAL] Clones the full effect technique. | |
DEPRECATED (3.05A, not recommended) void Flatten() | |
[INTERNAL] Flattens this effect technique. |
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.
|
|
Adds a new code inclusion to this effect profile.
|
|
Adds a local effect parameter to the local list.
|
|
Adds a new pass to this effect technique.
|
|
[INTERNAL] Clones the full effect technique.
|
|
[INTERNAL] Flattens this effect technique. Merges the parameter overrides into the parameter generators. |
|
Retrieves the list of code inclusions.
|
|
Retrieves the list of passes.
|
|
Retrieves the COLLADA id of the parent effect. This function is mostly useful as a shortcut for debugging and reporting.
|
|
Retrieves the code inclusion with the given sub-id.
|
|
Retrieves a code inclusion contained within the effect profile.
|
|
Retrieves the number of code inclusions contained within the effect profile.
|
|
Retrieves a given local effect parameter.
|
|
Retrieves the number of local effect parameters.
|
|
Retrieves the sub-id of the technique.
|
|
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.
|
|
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.
|