Show / Hide Table of Contents

Class ShaderChannelExtensions

Inheritance
System.Object
ShaderChannelExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AssetRipper.SourceGenerated.Extensions.Enums.Shader.ShaderChannel
Assembly: AssetRipper.SourceGenerated.Extensions.dll
Syntax
public static class ShaderChannelExtensions

Methods

| Improve this Doc View Source

GetChannelCount(UnityVersion)

Declaration
public static int GetChannelCount(UnityVersion version)
Parameters
Type Name Description
UnityVersion version
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetDimention(ShaderChannel, UnityVersion)

Declaration
public static byte GetDimention(this ShaderChannel _this, UnityVersion version)
Parameters
Type Name Description
ShaderChannel _this
UnityVersion version
Returns
Type Description
System.Byte
| Improve this Doc View Source

GetStride(ShaderChannel, UnityVersion)

Declaration
public static byte GetStride(this ShaderChannel _this, UnityVersion version)
Parameters
Type Name Description
ShaderChannel _this
UnityVersion version
Returns
Type Description
System.Byte
| Improve this Doc View Source

GetVertexFormat(ShaderChannel, UnityVersion)

Declaration
public static VertexFormat GetVertexFormat(this ShaderChannel _this, UnityVersion version)
Parameters
Type Name Description
ShaderChannel _this
UnityVersion version
Returns
Type Description
VertexFormat
| Improve this Doc View Source

HasChannel(ShaderChannel, UnityVersion)

Declaration
public static bool HasChannel(this ShaderChannel _this, UnityVersion version)
Parameters
Type Name Description
ShaderChannel _this
UnityVersion version
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ShaderChannel2018Relevant(UnityVersion)

2018.1 and greater

Declaration
public static bool ShaderChannel2018Relevant(UnityVersion version)
Parameters
Type Name Description
UnityVersion version
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ShaderChannel5Relevant(UnityVersion)

5.0.0 and greater

Declaration
public static bool ShaderChannel5Relevant(UnityVersion version)
Parameters
Type Name Description
UnityVersion version
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ToChannel(ShaderChannel, UnityVersion)

Declaration
public static int ToChannel(this ShaderChannel _this, UnityVersion version)
Parameters
Type Name Description
ShaderChannel _this
UnityVersion version
Returns
Type Description
System.Int32
| Improve this Doc View Source

ToSemantic(ShaderChannel)

Declaration
public static string ToSemantic(this ShaderChannel _this)
Parameters
Type Name Description
ShaderChannel _this
Returns
Type Description
System.String
| Improve this Doc View Source

ToShaderChannel2018(ShaderChannel)

Declaration
public static ShaderChannel2018 ToShaderChannel2018(this ShaderChannel _this)
Parameters
Type Name Description
ShaderChannel _this
Returns
Type Description
ShaderChannel2018
| Improve this Doc View Source

ToShaderChannel4(ShaderChannel)

Declaration
public static ShaderChannel4 ToShaderChannel4(this ShaderChannel _this)
Parameters
Type Name Description
ShaderChannel _this
Returns
Type Description
ShaderChannel4
| Improve this Doc View Source

ToShaderChannel5(ShaderChannel)

Declaration
public static ShaderChannel5 ToShaderChannel5(this ShaderChannel _this)
Parameters
Type Name Description
ShaderChannel _this
Returns
Type Description
ShaderChannel5
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾