SKMeshSpecificationAttribute Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SKMeshSpecificationAttribute structure.
public SKMeshSpecificationAttribute(SkiaSharp.SKMeshSpecificationAttributeType type, int offset, string name);
Parameters
The data type of the attribute.
- offset
- Int32
The byte offset of the attribute within a vertex.
- name
- String
The name of the attribute as referenced by the SkSL programs.