natiny_material_destroy

C
void natiny_material_destroy(NatinyMaterial material);

Releases a material's pipelines, layouts and binding data. If the material is currently bound, its binding is cleared.

Parameters

Name Type Description
material NatinyMaterial Material handle

Example

C
natiny_material_destroy(material);