STATE_animation_get_all_bitmaps

 

 


   This function returns an array with the handle to all the 
   bitmaps.
   bitmaps_array[] is an array of DWORD. This array will be filled with handles to
   all the bitmaps of the animation. 
   NOTE: you must allocate memory for the array before calling this function
   Example: 
  		int num_of_bitmaps=STATE_animation_get_number_of_bitmaps(animation_handle);
  		   allocating mem using new or malloc etc ...
  		DWORD *bitmaps_array=(DWORD *)malloc(num_of_bitmaps*sizeof(DWORD));
  		STATE_animation_get_all_bitmaps(animation_handle, bitmaps_array);
  
   Note that if a certain bitmaps is used twice by the animation, than its handle will
   appear twice in the bitmaps_array.
   handles 

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com