Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetShaderInfo(Shader)

Gets ShaderInfo for the given shader.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.