Go Back   AC3D Forums > Resources > AC3D Plugins and Other Resources
Register FAQ Members List Calendar Today's Posts

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 30th March 2008, 08:26 AM   #1
lisa
Senior Member
Professional user
 
lisa's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Posts: 917
Default texture id's

Prototype int ac_get_num_textures();
Prototype ACImage *texture_id_to_image(int id)

Does anyone know, is texture id really an id, or is it an index?

i.e. is this legal, or will it crash:

for (int i = 0; i < ac_get_num_textures(); i++)
{
ACImage *image = texture_id_to_image(i);
}

I'm guessing it's an index, I just want to be sure!

Thanks!
lisa is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 04:09 AM.


AC3D Forum
(C) Inivis Limited 2020