Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / RenderContextBase Class / ComputeShaderShadowPasses Method
Number of shader passes
Indices of the lights with a shadow

In This Topic
    ComputeShaderShadowPasses Method
    In This Topic
    Computes the number of passes needed by the shaders (one per light with shadow).
    Syntax
    'Declaration
     
    Public Sub ComputeShaderShadowPasses( _
       ByRef nPasses As Integer, _
       ByRef lightsWithShadow As Integer() _
    ) 
    public void ComputeShaderShadowPasses( 
       out int nPasses,
       out int[] lightsWithShadow
    )

    Parameters

    nPasses
    Number of shader passes
    lightsWithShadow
    Indices of the lights with a shadow
    See Also