文档

Unity Engine

Unity Engine

GetShaderData(Shader)

Get the shader data for a specific shader.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static ShaderData GetShaderData(Shader shader)

Parameters

shader

The shader to get data from.

Returns

Type

Description

ShaderDataThe shader data for the provided shader.