기술 자료

Unity Engine

Unity Engine

HasKernel(string)

Checks whether a shader contains a given kernel.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool HasKernel(string name)

Parameters

name

The name of the kernel to look for.

Returns

Type

Description

boolTrue if the kernel is found, false otherwise.