Files
RCBASIC4/doc/doc_files/serenity_api_textures.html
2025-08-13 19:20:25 -05:00

69 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<title>Serenity3D [RCBasic Doc] </title>
</head>
<body>
<p><h2>Serenity3D Texture API </h2></p>
<p>
<br>
</p>
<p>
<b>Function Serenity_GetTextureIndex(texture_name$)</b>
</p>
<ul>
<li>
Returns the Serenity Texture Index which is used to access texture data in the API
</li>
</ul>
<p>
<br>
</p>
<p>
<b>Function Serenity_GetTextureID(texture_index)</b>
</p>
<ul>
<li>
Returns the RCBasic texture ID or -1 if texture_index is not valid
</li>
</ul>
<p>
<br>
</p>
<p>
<b>Function Serenity_GetTextureFile$(texture_index)</b>
</p>
<ul>
<li>
Returns the name of the texture file
</li>
</ul>
<p>
<br>
</p>
<p>
<b>Function Serenity_GetTextureColorKey(texture_index)</b>
</p>
<ul>
<li>
Returns the color key of the texture
</li>
</ul>
<p>
<br>
</p>
<p>
<b>Function Serenity_GetTextureIsColorKey(texture_index)</b>
</p>
<ul>
<li>
Returns TRUE if texture colorkey flag was set in Serenity3D
</li>
</ul>
<p>
</body>
</html>