Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ShaderData.Subshader

This class describes a subshader.
Read time 1 minuteLast updated 6 days 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
tagName
on this SubShader and returns the value of the tag.
GetPassGet a pass of a subshader.