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.