ShaderUtil.GetCallableShaderParamSize

매뉴얼로 전환
public static int GetCallableShaderParamSize (Experimental.Rendering.RayTracingShader s, int shaderIndex);

파라미터

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

반환

int The parameter size in bytes.

설명

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