Attribute

@Target(allowedTargets = [])
annotation class Attribute(name: String, role: AttributeRole, 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.

Constructors

Attribute
Link copied to clipboard
common
fun Attribute(name: String, role: AttributeRole, vectorSize: Int)

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

name
Link copied to clipboard
common
val name: String
Attribute name.
role
Link copied to clipboard
common
val role: AttributeRole
Attribute role.
vectorSize
Link copied to clipboard
common
val vectorSize: Int
Vertex attributes array vector size.