Show / Hide Table of Contents

Class VertexFormatExtensions

Inheritance
System.Object
VertexFormatExtensions
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.VertexFormat
Assembly: AssetRipper.SourceGenerated.Extensions.dll
Syntax
public static class VertexFormatExtensions

Methods

| Improve this Doc View Source

CalculateStride(VertexFormat, UnityVersion, Int32)

Declaration
public static byte CalculateStride(this VertexFormat _this, UnityVersion version, int dimention)
Parameters
Type Name Description
VertexFormat _this
UnityVersion version
System.Int32 dimention
Returns
Type Description
System.Byte
| Improve this Doc View Source

GetSize(VertexFormat, UnityVersion)

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

ToFormat(VertexFormat, UnityVersion)

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

ToVertexChannelFormat(VertexFormat)

Declaration
public static VertexChannelFormat ToVertexChannelFormat(this VertexFormat _this)
Parameters
Type Name Description
VertexFormat _this
Returns
Type Description
VertexChannelFormat
| Improve this Doc View Source

ToVertexFormat2017(VertexFormat)

Declaration
public static VertexFormat2017 ToVertexFormat2017(this VertexFormat _this)
Parameters
Type Name Description
VertexFormat _this
Returns
Type Description
VertexFormat2017
| Improve this Doc View Source

ToVertexFormat2019(VertexFormat)

Declaration
public static VertexFormat2019 ToVertexFormat2019(this VertexFormat _this)
Parameters
Type Name Description
VertexFormat _this
Returns
Type Description
VertexFormat2019
| Improve this Doc View Source

VertexFormat2017Relevant(UnityVersion)

2017.1 and greater

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

VertexFormat2019Relevant(UnityVersion)

2019.1 and greater

Declaration
public static bool VertexFormat2019Relevant(UnityVersion version)
Parameters
Type Name Description
UnityVersion version
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾