 |
EffectsManagerRegisterEffect Method |
Registers the effect with EffectManager. Each used effect must be registered before it can be used in the rendering (without registering effect, its BeginUpdate and EndUpdate methods are not called).
Registering effect will also initialize it (called OnInitializeDeviceResources) if the effect was not initialized yet.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic void RegisterEffect(
Effect effect
)
Parameters
- effect Effect
- Effect
RemarksRegisterEffect registers the effect with EffectManager. Each used effect must be registered.
See Also