Facebook Twitter YouTube

class EffectRegistration

Defined in:  TSEffects.h
The EffectRegistration class manages internal registration information for a custom effect type.
Definition

class EffectRegistration : public Registration<Effect, EffectRegistration>

Member Functions
EffectRegistration::GetEffectType Returns the registered effect type.
EffectRegistration::GetEffectName Returns the human-readable effect name.
Constructor

EffectRegistration(EffectType type, const char *name);

Parameters
type The effect type.
name The effect name.
Description
The EffectRegistration class is abstract and serves as the common base class for the template class EffectReg. A custom effect is registered with the engine by instantiating an object of type EffectReg<classType>, where classType is the type of the effect subclass being registered.
Base Classes
Registration<Effect, EffectRegistration> An effect registration is a specific type of registration object.
See Also

EffectReg

Effect