Click or drag to resize
AB4D logo

StandardEffectIsUsingSuperShader(IListILight, DXScene) Method

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#
public bool IsUsingSuperShader(
	IList<ILight> lights,
	DXScene dxScene
)

Parameters

lights  IListILight
list of lights
dxScene  DXScene
DXScene

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