Click or drag to resize
Ab4d.SharpEngine logo

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.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public void RegisterEffect(
	Effect effect
)

Parameters

effect  Effect
Effect
Remarks

RegisterEffect registers the effect with EffectManager. Each used effect must be registered.

See Also