STATE_3D_card_set_bilinear_filtering

 

 


#define BILINEAR_FOR_PRIMARY_TEXTURE_ONLY 8
#define BILINEAR_FOR_SECONDARY_TEXTURE_ONLY 16
#define BILINEAR_USE_3D_CARD_DEFAULTS 32

   Function level of importance = High.
  
   The function turns OFF or ON the bilinear filtering.
   Bilinear filtering is a technique for getting better looking textures. When bilinear 
   filtering is ON, it removes the pixelization effect from close textures.
   The default is ON. If preformance are very important you should consider
   shutting bilinear filltering off.
   Bilinear filtering could also be set separately for each polygon using
   STATE_polygon_set_bilinear_filtering() (this will overide any setting made by STATE_3D_card_set_bilinear_filtering() )
   parameters:
  		bilinear_mode:
  			ON  -		The default. Turns on bilinear filtering.
  			OFF -		Turns off bilinear filtering
  			BILINEAR_FOR_PRIMARY_TEXTURE_ONLY -		Turns on bilinear only for the primary texture (each polygon could have two textures, the primary and the secondary)
  			BILINEAR_FOR_PRIMARY_SECONDARY_ONLY -   Turns on bilinear only for the secondary texture (each polygon could have two textures, the primary and the secondary)
  Example:
   STATE_3D_card_set_bilinear_filtering(OFF);
  
   See also STATE_polygon_set_bilinear_filtering()

 

 

Go to page 1      Select API

 

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