|
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.EffectsAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax [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
Booleantrue if SuperShader is needed to render the specified lights; when false is returned than DirectionalLightShader can render the scene
See Also