Click or drag to resize
AB4D logo

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.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public virtual Effect GetEffect(
	string effectName
)

Parameters

effectName  String
name of the effect to return.

Return Value

Effect
Effect with specified name.
See Also