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()
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
Returns
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
GetStride(ShaderChannel, UnityVersion)
Declaration
public static byte GetStride(this ShaderChannel _this, UnityVersion version)
Parameters
Returns
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
Declaration
public static VertexFormat GetVertexFormat(this ShaderChannel _this, UnityVersion version)
Parameters
Returns
|
Improve this Doc
View Source
HasChannel(ShaderChannel, UnityVersion)
Declaration
public static bool HasChannel(this ShaderChannel _this, UnityVersion version)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ShaderChannel2018Relevant(UnityVersion)
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)
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
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ToSemantic(ShaderChannel)
Declaration
public static string ToSemantic(this ShaderChannel _this)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ToShaderChannel2018(ShaderChannel)
Declaration
public static ShaderChannel2018 ToShaderChannel2018(this ShaderChannel _this)
Parameters
Returns
|
Improve this Doc
View Source
ToShaderChannel4(ShaderChannel)
Declaration
public static ShaderChannel4 ToShaderChannel4(this ShaderChannel _this)
Parameters
Returns
|
Improve this Doc
View Source
ToShaderChannel5(ShaderChannel)
Declaration
public static ShaderChannel5 ToShaderChannel5(this ShaderChannel _this)
Parameters
Returns