30th March 2008, 08:26 AM | #1 |
Senior Member
Professional user
Join Date: Mar 2005
Location: Phoenix, AZ
Posts: 917
|
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! |
|
|