Click or drag to resize
AB4D logo

SuperShaderGetRequiredRenderingPassesCount Method

Returns number of rendering passes that are required to render the specified lights.

Namespace: Ab3d.DirectX.Shaders
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public static int GetRequiredRenderingPassesCount(
	IList<ILight> lights,
	RenderingContext renderingContext
)

Parameters

lights  IListILight
list of lights
renderingContext  RenderingContext
RenderingContext

Return Value

Int32
number of rendering passes that are required to render the specified lights
See Also