Class VertexAttributeUsageExtension
Extension methods for VertexAttribute.
Inherited Members
Namespace: GLTFast.Export
Assembly: glTFast.Export.dll
Syntax
public static class VertexAttributeUsageExtension
Methods
ToVertexAttributeUsage(VertexAttribute)
Converts a VertexAttribute to a VertexAttributeUsage mask with corresponding flag enabled.
Declaration
public static VertexAttributeUsage ToVertexAttributeUsage(this VertexAttribute attr)
Parameters
Type | Name | Description |
---|---|---|
VertexAttribute | attr | Vertex attribute. |
Returns
Type | Description |
---|---|
VertexAttributeUsage | Vertex attribute mask with corresponding flag enabled. |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException |