ドキュメント

Unity Engine

Unity Engine

GetComputeShaderMessageCount(ComputeShader)

Returns the number of errors and warnings generated by the Unity Shader Compiler for the given ComputeShader.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static int GetComputeShaderMessageCount(ComputeShader s)

Parameters

The ComputeShader instance to check for messages.

Returns

Type

Description

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