ShaderUtil.GetMissShaderRayPayloadSize

Switch to Manual
public static int GetMissShaderRayPayloadSize (Experimental.Rendering.RayTracingShader s, int shaderIndex);

Parameters

sThe RayTracingShader instance.
shaderIndexThe miss Shader index for which to retrieve the ray payload size.

Returns

int The ray payload size in bytes.

Description

Returns the ray payload size of a user-defined miss Shader from within a RayTracingShader.