rage game engine free game engine

rglAddDynamicUniqueMeshTexCoord

Sulaco Home
/ News / About Rage 3D / Current Features / Download Rage 3D / License / News Archive / Our Team / Rage 3D Functions / Rage 3D Games / Screen Shots / Tutorials /

Google
 
Web www.rage-game-engine.za.net



Hosting provided by Sulaco New Media Web Design Development and Web Hosting

 Ads


rglAddDynamicUniqueMeshTexCoord

function rglAddDynamicUniqueMeshTexCoord(
const aObjectIndex : Integer;
const aX, aY, aZ : Single) : Integer;
stdcall;

Add a unique texture coordinate to the texture coordinate array of the supplied dynamic object

Parameters
aObjectIndex - A Reference to one of the previously created dynamic objects
aX, aY, aZ - the texture coordinate data to add

Returns
The index of the texture coordinate.

Remark
This adds a unique texture coordinate to the supplied dynamic object. Generally this will be used to load texture coordinate data from an external file not known by the engine. Duplicate checking is performed, and if a duplicate is found, the index of the first occurance is returned. This function is used to save system memory.



 Ads




SourceForge.net Logo