Version: 2019.4
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.