Attribute

@Target(allowedTargets = [])
annotation class Attribute(val name: String, val role: AttributeRole, val vectorSize: Int)

Vertex attributes array provided to a shader from the mesh.

This annotation is only intended to by used as an array element in ShaderParams.attributes.

See also

Properties

Link copied to clipboard

Attribute name.

Link copied to clipboard

Attribute role.

Link copied to clipboard

Vertex attributes array vector size.