Click or drag to resize
AB4D logo

StandardEffectIsUsingSuperShader(IListILight) Method

Note: This API is now obsolete.

IsUsingSuperShader method return true if SuperShader is needed to render the specified lights. When false is returned than DirectionalLightShader can render the scene. This method also creates the needed shader (SuperShader or DirectionalLightShader) if is was not yet created.

Namespace: Ab3d.DirectX.Effects
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
[ObsoleteAttribute("IsUsingSuperShader that takes only lights list is obsolete. Use method that also takes DXScene as a parameter. This way it is possible to use SuperShader in case SSAO is used.")]
public bool IsUsingSuperShader(
	IList<ILight> lights
)

Parameters

lights  IListILight
list of lights

Return Value

Boolean
true if SuperShader is needed to render the specified lights; when false is returned than DirectionalLightShader can render the scene
See Also