Class ShaderGpuProgramTypeExtensions
Inheritance
System.Object
ShaderGpuProgramTypeExtensions
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 ShaderGpuProgramTypeExtensions
Methods
|
Improve this Doc
View Source
GpuProgramType55Relevant(UnityVersion)
Declaration
public static bool GpuProgramType55Relevant(UnityVersion version)
Parameters
Type |
Name |
Description |
UnityVersion |
version |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsDX(ShaderGpuProgramType)
Declaration
public static bool IsDX(this ShaderGpuProgramType _this)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsDX9(ShaderGpuProgramType)
Declaration
public static bool IsDX9(this ShaderGpuProgramType _this)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsGL(ShaderGpuProgramType)
Declaration
public static bool IsGL(this ShaderGpuProgramType _this)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public static bool IsMetal(this ShaderGpuProgramType _this)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public static GPUPlatform ToGPUPlatform(this ShaderGpuProgramType _this, BuildTarget platform)
Parameters
Returns
|
Improve this Doc
View Source
ToProgramDataKeyword(ShaderGpuProgramType, BuildTarget, ShaderType)
Declaration
public static string ToProgramDataKeyword(this ShaderGpuProgramType _this, BuildTarget platform, ShaderType type)
Parameters
Returns
Type |
Description |
System.String |
|