Version: 2023.2
언어: 한국어

ShaderUtil.GetRayGenerationShaderCount

매뉴얼로 전환
public static int GetRayGenerationShaderCount (Rendering.RayTracingShader s);

파라미터

s The RayTracingShader instance.

반환

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

설명

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

Additional resources: ShaderUtil.GetRayGenerationShaderName.