#include <FCDEffectProfileFX.h>
Inheritance diagram for FCDEffectProfileFX:
Public Member Functions | |
FCDEffectProfileFX (FCDocument *document, FCDEffect *parent) | |
Constructor: do not use directly. | |
virtual | ~FCDEffectProfileFX () |
Destructor. | |
virtual FUDaeProfileType::Type | GetType () const |
Retrieves the profile type for this effect. | |
void | SetType (FUDaeProfileType::Type _type) |
Sets the profile type for this effect. | |
const fstring & | GetPlatform () const |
Retrieves the name of the platform in which to use the effect profile. | |
void | SetPlatform (const fstring &_platform) |
Sets the name of the platform in which to use the effect profile. | |
DEPRECATED (3.05A, GetTechniqueCount and GetTechnique(index)) void GetTechniqueList() const | |
Retrieves the list of techniques contained within this effect profile. | |
size_t | GetTechniqueCount () const |
Retrieves the number of techniques contained within this effect profile. | |
FCDEffectTechnique * | GetTechnique (size_t index) |
Retrieves a technique contained within this effect profile. | |
const FCDEffectTechnique * | GetTechnique (size_t index) const |
See above. | |
FCDEffectTechnique * | AddTechnique () |
Adds a new technique to this effect profile. | |
DEPRECATED (3.05A, GetCodeCount and GetCode(index)) 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. | |
virtual FCDEffectProfile * | Clone (FCDEffectProfile *clone=NULL) const |
Clones the full effect profile. | |
DEPRECATED (3.05A, not recommended) void Flatten() | |
[INTERNAL] Flattens this effect profile. |
The general effect profile contains all the information necessary to implement the advanced effect profiles, such as CG, HLSL, GLSL and GLES. Since these effect profiles contains extremely similar information, they use the same description structure. For the COMMON profile, see the FCDEffectStandard class.
You should use the GetType function to figure out which profile this structure addresses. You can then retrieve one or many of the FCDEffectTechnique objects that describe how to render for this profile. You may want to check the FCDEffectMaterialTechniqueHint objects at the FCDMaterial level, in order to determine which technique(s) to use for your platform. At the profile level of abstraction, parameters may be generated within the FCDEffectParamterList.
|
Constructor: do not use directly. Instead, use the FCDEffect::AddProfile function.
|
|
Adds a new code inclusion to this effect profile.
|
|
Adds a new technique to this effect profile.
|
|
Clones the full effect profile.
Reimplemented from FCDEffectProfile. |
|
[INTERNAL] Flattens this effect profile. Pushes all the effect parameter overrides into the effect parameter generators and moves all the parameters to the effect technique level of abstraction. To flatten the material, use the FCDMaterialInstance::FlattenMaterial function. Reimplemented from FCDEffectProfile. |
|
Retrieves the list of code inclusions.
|
|
Retrieves the list of techniques contained within this effect profile. You may want to check the FCDEffectMaterialTechniqueHint objects at the FCDMaterial level, in order to determine which technique(s) to use for your platform.
|
|
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 the name of the platform in which to use the effect profile. This parameter is very optional.
|
|
Retrieves a technique contained within this effect profile. You may want to check the FCDEffectMaterialTechniqueHint objects at the FCDMaterial level, in order to determine which technique(s) to use for your platform.
|
|
Retrieves the number of techniques contained within this effect profile.
|
|
Retrieves the profile type for this effect. This function is a part of the FCDEffectProfile interface and allows you to up-cast an effect profile pointer safely to this class.
Implements FCDEffectProfile. |
|
Sets the name of the platform in which to use the effect profile. This parameter is very optional.
|
|
Sets the profile type for this effect. Do not change the profile type of a completed effect. |