Subversion Repositories gelsvn

Rev

Rev 369 | Rev 594 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 369 Rev 449
Line 360... Line 360...
360
	Note that *channels return the original channel count of the
360
	Note that *channels return the original channel count of the
361
	image.  If force_channels was other than SOIL_LOAD_AUTO,
361
	image.  If force_channels was other than SOIL_LOAD_AUTO,
362
	the resulting image has force_channels, but *channels may be
362
	the resulting image has force_channels, but *channels may be
363
	different (if the original image had a different channel
363
	different (if the original image had a different channel
364
	count).
364
	count).
365
	\return 0 if failed, otherwise returns 1
365
	\return 0 if failed, otherwise returns pointer to data
366
**/
366
**/
367
unsigned char*
367
unsigned char*
368
	SOIL_load_image
368
	SOIL_load_image
369
	(
369
	(
370
		const char *filename,
370
		const char *filename,
371
		int *width, int *height, int *channels,
371
		int *width, int *height, int *channels,
372
		int force_channels
372
		int force_channels
373
	);
373
	);
-
 
374
 
-
 
375
/**
-
 
376
	Loads an HDR image from disk into an array of unsigned chars.
-
 
377
	Note that *channels return the original channel count of the
-
 
378
	image.  If force_channels was other than SOIL_LOAD_AUTO,
-
 
379
	the resulting image has force_channels, but *channels may be
-
 
380
	different (if the original image had a different channel
-
 
381
	count).
-
 
382
	\return 0 if failed, otherwise returns pointer to data
-
 
383
**/
-
 
384
unsigned char*
-
 
385
	SOIL_load_HDR_image
-
 
386
	(
-
 
387
		const char *filename,
-
 
388
		int *width, int *height, int *channels,
-
 
389
		int force_channels
-
 
390
	);
374
 
391
 
375
/**
392
/**
376
	Loads an image from memory into an array of unsigned chars.
393
	Loads an image from memory into an array of unsigned chars.
377
	Note that *channels return the original channel count of the
394
	Note that *channels return the original channel count of the
378
	image.  If force_channels was other than SOIL_LOAD_AUTO,
395
	image.  If force_channels was other than SOIL_LOAD_AUTO,