Version: 2019.4
public static int GetMissShaderRayPayloadSize (Experimental.Rendering.RayTracingShader s, int shaderIndex);

パラメーター

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

戻り値

int The ray payload size in bytes.

説明

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