文档

Unity Engine

Unity Engine

GetSubshader(int)

Obtains the runtime subshader at the given index.
阅读时间1 分钟最后更新于 1 天前

Definition

public ShaderData.Subshader GetSubshader(int index)

Parameters

index

The index of the subshader.

Returns

Type

Description

SubshaderThe associated runtime subshader or null if none exists.