ShaderUtil.GetMissShaderRayPayloadSize

Declaration

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

Parameters

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


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