Mesh:setAttributeEnabled
Sets whether a vertex attribute is enabled. Disabled attributes won't be sent to shaders.
Mesh:setAttributeEnabled(attribute, enabled)
Arguments
Name | Type | Description |
attribute | string | The name of the attribute. |
enabled | boolean | Whether or not the attribute is enabled when drawing the Mesh. |
Returns
Nothing
See also
Mesh:isAttributeEnabled
Mesh