Version: 2020.3

ComputeShader.IsKeywordEnabled

切换到手册
public bool IsKeywordEnabled (string keyword);

描述

Specifies whether the Shader keyword is enabled in this Compute Shader.