Serenity3D [RCBasic Doc]

## Serenity3D Texture API

Function Serenity_GetTextureIndex(texture_name$)

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

Function Serenity_GetTextureID(texture_index)

- Returns the RCBasic texture ID or -1 if texture_index is not valid

Function Serenity_GetTextureFile$(texture_index)

- Returns the name of the texture file

Function Serenity_GetTextureColorKey(texture_index)

- Returns the color key of the texture

Function Serenity_GetTextureIsColorKey(texture_index)

- Returns TRUE if texture colorkey flag was set in Serenity3D