|
EffectsManagerGetEffect(String) Method |
Gets an effect by its name (using ordinal ignore case comparison). The effect must be registered before it can be get with GetEffect. If the effect is not found null is returned.
To get StandardEffect (effect that can render all possible lights), use
GetStandardEffect method.
NOTE: User must call Dispose on the get effect (reference count is increased in GetEffect method).
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax public virtual Effect GetEffect(
string effectName
)
Parameters
- effectName String
- name of the effect to return.
Return Value
EffectEffect with specified name.
See Also