Attribute
data class Attribute(val name: String, val type: MaterialBuilder.UniformType, val location: VertexBuffer.VertexAttribute, val attributeName: String, val defineName: String)
A vertex attribute a material can require: its name, shader type and slot, and the names shaders use for it (attributeName, e.g. mesh_uv0, and defineName, e.g. HAS_ATTRIBUTE_UV0).
Constructors
Link copied to clipboard
constructor(name: String, type: MaterialBuilder.UniformType, location: VertexBuffer.VertexAttribute, attributeName: String, defineName: String)