Version: 2023.1
언어: 한국어

ShaderUtil.GetCallableShaderParamSize

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

파라미터

s The RayTracingShader instance.
shaderIndex The 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.