Serenity3D [RCBasic Doc]

## Serenity3D Materials API

Function Serenity_GetMaterialIndex(material_name$)

- Returns the Serenity Material Index which is used to access material data in the API

Function Serenity_GetMaterialID(material_index)

- Returns the RCBasic material ID or -1 if material_index is not valid

Function Serenity_GetMaterialTextureIndex(material_index, texture_level)

- Returns the Serenity Texture Index which is used to access texture data in the API