Version: 2021.2
언어: 한국어
public bool IsValid ();

반환

bool Returns true if the global shader keyword exists. Otherwise, returns false.

설명

Checks whether the global shader keyword exists.


public bool IsValid (ComputeShader shader);

파라미터

shader The shader that declares the keyword.

반환

bool Returns true if the shader keyword exists. Otherwise, returns false.

설명

Checks whether the shader keyword exists in the compute shader you pass in.


public bool IsValid (Shader shader);

파라미터

shader The shader that declares the keyword.

반환

bool Returns true if the shader keyword exists. Otherwise, returns false.

설명

Checks whether the shader keyword exists in the shader you pass in.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961