VertexAttribute

data class VertexAttribute(    val usage: VertexAttrUsage,     val numComponents: Int,     val alias: String,     val type: VertexAttrType = if (usage == VertexAttrUsage.COLOR_PACKED) VertexAttrType.UNSIGNED_BYTE else VertexAttrType.FLOAT,     val normalized: Boolean = usage == VertexAttrUsage.COLOR_PACKED,     val unit: Int = 0,     val asInt: Boolean = false)

Author

Colton Daily

Constructors

Link copied to clipboard
fun VertexAttribute(    usage: VertexAttrUsage,     numComponents: Int,     alias: String,     type: VertexAttrType = if (usage == VertexAttrUsage.COLOR_PACKED) VertexAttrType.UNSIGNED_BYTE else VertexAttrType.FLOAT,     normalized: Boolean = usage == VertexAttrUsage.COLOR_PACKED,     unit: Int = 0,     asInt: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val asInt: Boolean = false
Link copied to clipboard
val key: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val unit: Int = 0
Link copied to clipboard