ShaderUtil.GetCallableShaderParamSize

Declaration

public static int GetCallableShaderParamSize(Rendering.RayTracingShader s, int shaderIndex);

Parameters

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


Did you find this page useful? Please give it a rating: