文档

Unity Engine

Unity Engine

HasKernel(string)

Checks whether a shader contains a given kernel.
阅读时间1 分钟最后更新于 1 天前

Definition

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.