natiny_material_remove_tag
void natiny_material_remove_tag(NatinyMaterial material, const char* tag);
Removes a tag from the material's tag list. The remaining tags keep their order, and each tag after the removed one moves down by one index.
Parameters
| Name | Type | Description |
|---|---|---|
material |
NatinyMaterial |
Material handle from natiny_material_create; an invalid handle is ignored |
tag |
const char* |
Null-terminated tag name; NULL or a tag the material does not have is ignored |
Example
natiny_material_remove_tag(glass, "transparent");