|
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.EffectsAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax public bool IsUsingSuperShader(
IList<ILight> lights,
DXScene dxScene
)
Parameters
- lights IListILight
- list of lights
- dxScene DXScene
- DXScene
Return Value
Booleantrue if SuperShader is needed to render the specified lights; when false is returned than DirectionalLightShader can render the scene
See Also