Function _IrrGetImage

au3Irr2

au3Irr2 Function Reference

_IrrGetImage

Loads 2D texture from bitmap file into main memory for CPU based operations.

#Include <au3Irrlicht2.au3>
_IrrGetImage($s_ImageFile)

 

Parameters

$s_ImageFile Full path to the bitmap file.

 

Return Value

Success: Handle of the irrlicht memory texture object
Failure: False

 

Remarks

This images can not be used to texture 3D objects! Instead, they can be used to supply a heightmap to a terrain or other similar CPU based operations.

Irrlicht engine supports currently this image file formats:
JPEG File Interchange Format (.jpg, r/w) Portable Network Graphics (.png, r/w)
Truevision Targa (.tga, r/w) Windows Bitmap (.bmp, r/w)
Zsoft Paintbrush (.pcx, r/w) Portable Pixmaps (.ppm, r/w)
Adobe Photoshop (.psd, r) Quake 2 textures (.wal, r)

 

Related

_IrrRemoveImage, _IrrGetTexture