IrrGetTexture

section index

## NAME

IrrGetTexture - Load a Texture

## SYNOPSIS

IrrGetTexture( TextureFilename.s )

## FUNCTION

Loads the Texturefile 'TextureFilename.s' You can all image-formats that Irrlicht know.

## INPUTS

TextureFilename.s | - | Name of the Texturefile

## RESULT

A Pointer to the loaded Texture. If the Pointer is 0 then Irrlicht was not able to load the Texture.

## EXAMPLE

        *mytexture.l = IrrGetTexture( "./media/texture.jpg" )

## NOTES

If you have problems with loading Textures, you should compile as Console-Application to see the Irrlicht-Output. Maybe this helps.