Mesh:isAttributeEnabled

Returns whether or not a vertex attribute is enabled. Disabled attributes won't be sent to shaders.

enabled = Mesh:isAttributeEnabled(attribute)

Arguments

NameTypeDescription
attributestringThe name of the attribute.

Returns

NameTypeDescription
enabledbooleanWhether or not the attribute is enabled when drawing the Mesh.

See also