RenderContextBase.ComputeShaderShadowPasses Method
Computes the number of passes needed by the shaders (one per light with shadow).
Public Sub ComputeShaderShadowPasses( _
ByRef nPasses As Integer, _
ByRef lightsWithShadow As Integer() _
)
This language is not supported or no code example is available.
public void ComputeShaderShadowPasses(
out int nPasses,
out int[] lightsWithShadow
)
This language is not supported or no code example is available.
Parameters
-
nPasses
-
int
Number of shader passes
-
lightsWithShadow
-
int[]
Indices of the lights with a shadow
.NET Framework
Supported in: 4.8