Mesh:setAttributeEnabled

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

Mesh:setAttributeEnabled(attribute, enabled)

Arguments

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

Returns

Nothing

See also