Documentation

Unity Engine

Download Unity

Unity Engine

ShaderData.Subshader

This class describes a subshader.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public class ShaderData.Subshader

Properties

Property

Description

LevelOfDetailThe level of detail (LOD) specified in this subshader (Read Only).
PassCountThe number of passes for this subshader.

Methods

Method

Description

FindTagValueSearches for the tag specified by
tag
on this SubShader and returns the value of the tag.
GetPassGet a pass of a subshader.