STATE_bitmap_get_mipmap_width

 

 


   *** not so useful.
   Returns the width of the selected mipmap level
   The only use of this function is if you intend to change pixels in the bitmap mipmap levels
   For most usage this function is not needed since it is easier to access only mipmap 0
   and to cancel mipmaps for the given bitmap. See below for more info.
   
  	parameters:
  		mipmap_level [in]:
  			a zero based index.
  
   Return value:
  		The number of mipmaps or -1 if an error occured.
  
   Remarks:
   1. This function should only be called after there was at least one STATE_engine_render() call
   
   2. When mipmap_level==0 this function will be the same as STATE_bitmap_get_width()
  
   3. For more information about mipmaps please see STATE_bitmap_get_number_of_mipmap_level() and STATE_bitmap_set_pixel()
  
   See also STATE_bitmap_get_width(), STATE_bitmap_get_mipmap_height(), STATE_bitmap_get_number_of_mipmap_level()
  

 

 

Go to page 1      Select API

 

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