文档

Unity Engine

Unity Engine

ShaderTagId

Shader tag ids are used to refer to various names in shaders.
阅读时间1 分钟最后更新于 1 个月前

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.