ShaderUtil.GetRayGenerationShaderCount

Switch to Manual
public static int GetRayGenerationShaderCount (Experimental.Rendering.RayTracingShader s);

Parameters

sThe RayTracingShader instance.

Returns

int The number of ray generation Shaders defined in the RayTracingShader instance passed as argument.

Description

Returns the number of ray generation Shaders defined whitin a given RayTracingShader.