ShaderUtil.GetCallableShaderParamSize

Cambiar al Manual
public static int GetCallableShaderParamSize (Experimental.Rendering.RayTracingShader s, int shaderIndex);

Parámetros

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

Valor de retorno

int The parameter size in bytes.

Descripción

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