Show / Hide Table of Contents

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()
Namespace: AssetRipper.SourceGenerated.Extensions.Enums.Shader.GpuProgramType
Assembly: AssetRipper.SourceGenerated.Extensions.dll
Syntax
public static class ShaderGpuProgramTypeExtensions

Methods

| Improve this Doc View Source

GpuProgramType55Relevant(UnityVersion)

5.5.0 and greater

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
Type Name Description
ShaderGpuProgramType _this
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsDX9(ShaderGpuProgramType)

Declaration
public static bool IsDX9(this ShaderGpuProgramType _this)
Parameters
Type Name Description
ShaderGpuProgramType _this
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsGL(ShaderGpuProgramType)

Declaration
public static bool IsGL(this ShaderGpuProgramType _this)
Parameters
Type Name Description
ShaderGpuProgramType _this
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsMetal(ShaderGpuProgramType)

Declaration
public static bool IsMetal(this ShaderGpuProgramType _this)
Parameters
Type Name Description
ShaderGpuProgramType _this
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ToGPUPlatform(ShaderGpuProgramType, BuildTarget)

Declaration
public static GPUPlatform ToGPUPlatform(this ShaderGpuProgramType _this, BuildTarget platform)
Parameters
Type Name Description
ShaderGpuProgramType _this
AssetRipper.IO.Files.BuildTarget platform
Returns
Type Description
GPUPlatform
| Improve this Doc View Source

ToProgramDataKeyword(ShaderGpuProgramType, BuildTarget, ShaderType)

Declaration
public static string ToProgramDataKeyword(this ShaderGpuProgramType _this, BuildTarget platform, ShaderType type)
Parameters
Type Name Description
ShaderGpuProgramType _this
AssetRipper.IO.Files.BuildTarget platform
ShaderType type
Returns
Type Description
System.String
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾