기술 자료

Unity Engine

Unity Engine

GetCallableShaderParamSize(RayTracingShader, int)

Returns the parameter size of a user-defined callable shader from within a RayTracingShader.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static int GetCallableShaderParamSize(RayTracingShader s, int shaderIndex)

Parameters


shaderIndex

The callable shader index for which to retrieve the parameter size.

Returns

Type

Description

intThe parameter size in bytes.

Remarks