3D Game Builder SDK

SDK Functions

gameSetSmoothTGA( int id, int set )

Description

Set an image to be rendered using nearest pixel or smooth filtering.

Specification

int gameSetSmoothTGA( int id, int set )

int id

= the id number of the image

int set

= 1 (smooth filtering) or 0 (nearest pixel)

return value

= 1 (success) or 0 (fail)

Notes

This function changes the image file to be rendered using nearest pixel or smooth filtering.

The default is to use smooth filtering.

For Example


			

See Also

  gameValidateTGA( char * name )
  gameOpenTGA( char * name )
  gameCloseTGA( int id )
  gameSetAdditiveBlendTGA( int id, int set )
  gameSetSmoothTGA( int id, int set )
  gameSetInvisibleColorTGA( int id, float r, float g, float b )
  gameSetTransparencyTGA( int id_base, int id_alpha )
  gameBindTexture( int id )

Go Back

SDK Functions