Edit

SKMeshSpecificationAttribute Struct

Definition

Describes a single per-vertex attribute of a mesh.

public readonly struct SKMeshSpecificationAttribute
Inheritance
SKMeshSpecificationAttribute

Constructors

Name Description
SKMeshSpecificationAttribute(SKMeshSpecificationAttributeType, Int32, String)

Initializes a new instance of the SKMeshSpecificationAttribute structure.

Properties

Name Description
Name

Gets the name of the attribute as referenced by the SkSL programs.

Offset

Gets the byte offset of the attribute within a vertex.

Type

Gets the type of the attribute.

Applies to