ShaderUtil.GetCallableShaderParamSize

Switch to Manual
public static int GetCallableShaderParamSize (Experimental.Rendering.RayTracingShader s, int shaderIndex);

Parameters

sThe RayTracingShader instance.
shaderIndexThe callable Shader index for which to retrieve the parameter size.

Returns

int The parameter size in bytes.

Description

Returns the parameter size of a user-defined callable Shader from within a RayTracingShader.