ShaderUtil.GetMissShaderRayPayloadSize

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

Parámetros

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

Valor de retorno

int The ray payload size in bytes.

Descripción

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