Version: 2021.3
言語: 日本語
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.