Effect resource class.
More...
#include <Effect.h>
List of all members.
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Returns the effect manager this effect is in.
- Returns:
- The effect manager this effect is in
Returns the parameter manager of the effect.
- Returns:
- The parameter manager of the effect
Returns whether the effect should be blend or not.
- Returns:
- 'true' if the pass should be blend, else 'false'
Activates/deactivates the effect blending.
- Parameters:
-
[in] | bBlend | Should the effect be blended? |
- See also:
-
Returns whether the effect is loaded or not.
- Returns:
- 'true' if the effect is loaded, else 'false'
PLRENDERER_API Effect& PLRenderer::Effect::operator= |
( |
const Effect & |
cSource | ) |
|
Copy operator.
- Parameters:
-
[in] | cSource | Source to copy from |
- Returns:
- This instance
Returns the flags.
- Returns:
- Flags
Sets the flags.
- Parameters:
-
Gets the number of techniques.
- Returns:
- The number of techniques
Adds a technique.
- Parameters:
-
[in] | nTechnique | Index where the new technique should be added, if < 0 the add at the end |
- Returns:
- The new effect technique, a null pointer on error
Gets a technique.
- Parameters:
-
[in] | nIndex | Index of the technique to return |
- Returns:
- The effect technique, a null pointer on error
Removes a technique.
- Parameters:
-
[in] | nTechnique | Index of the technique to remove, if < 0 the current selected technique is chosen |
- Returns:
- 'true' if all went fine, else 'false'
Gets the current selected technique.
- Returns:
- The current selected technique, a null pointer if no technique is selected
Gets the index of the current selected technique.
- Returns:
- Index of the current selected technique, < 0 if no technique is selected
Select the current technique by index.
- Parameters:
-
[in] | nIndex | Technique index |
- Returns:
- 'true' if all went fine, else 'false' (invalid or unknown technique)
Select the current technique by name.
- Parameters:
-
- Returns:
- 'true' if all went fine, else 'false' (invalid or unknown technique)
Reloads the loadable.
- Returns:
- 'true' if all went fine, else 'false' (maybe there's nothing loaded?)
- Note:
- Same as pLoadable->Load(pLoadable->GetAbsFilename())
Reimplemented from PLCore::Loadable.
Unloads the loadable.
- Returns:
- 'true' if all went fine, else 'false'
Reimplemented from PLCore::Loadable.
Returns the loadable type name.
- Returns:
- The loadable type name
Reimplemented from PLCore::Loadable.
The documentation for this class was generated from the following files: