文档

Unity Engine

Unity Engine

GetShaderInfo(Shader)

Gets ShaderInfo for the given shader.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static ShaderInfo GetShaderInfo(Shader shader)

Parameters

shader

The shader to get information about.

Returns

Type

Description

ShaderInfoReturns an instance of ShaderInfo for the given shader.