Version: 2021.2
언어: 한국어

ShaderUtil.GetCallableShaderParamSize

매뉴얼로 전환
public static int GetCallableShaderParamSize (Experimental.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.