Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ShaderTagId

Shader tag ids are used to refer to various names in shaders.
Read time 1 minuteLast updated 4 days ago

Definition

public struct ShaderTagId : IEquatable<ShaderTagId>

Remarks

Static Fields

Value

Description

noneDescribes a shader tag id not referring to any name.

Constructors

Constructor

Description

ShaderTagId(System.String)Gets or creates a shader tag id representing the given name.

Properties

Property

Description

nameGets the name of the tag referred to by the shader tag id.

Operators

Operator

Description

ShaderTagIdConverts a string to a ShaderTagId.
stringConverts a ShaderTagId to a string.