Version: 2020.3
言語: 日本語

ShaderUtil.GetMissShaderRayPayloadSize

マニュアルに切り替える
public static int GetMissShaderRayPayloadSize (Experimental.Rendering.RayTracingShader s, int shaderIndex);

パラメーター

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