ShaderData

class in UnityEditor

Description

This class describes a shader.

Properties

ActiveSubshaderReturns the active subshader or null if none is currently active.
ActiveSubshaderIndexReturns the index of the active subshader or -1 if none is currently active.
SerializedSubshaderCountObtains the serialized subshader at the given index.
SourceShaderThe shader attached to this data set.
SubshaderCountThe number of subshaders used by this shader.

Public Methods

GetSerializedSubshaderObtains the serialized subshader at the given index.
GetSubshaderGet a subshader.

Did you find this page useful? Please give it a rating: