기술 자료

Unity Engine

Unity Engine

GetRayTracingShaderMessageCount(RayTracingShader)

Returns the number of errors and warnings generated by the Shader Compiler for the given RayTracingShader.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static int GetRayTracingShaderMessageCount(RayTracingShader s)

Parameters

The RayTracingShader instance to check for messages.

Returns

Type

Description

intThe number of errors and warnings generated by the Shader Compiler.