IrrImageGetColorFormat

section index

## NAME

IrrImageGetColorFormat - Returns the Colorformat of an Irrlicht Image

## SYNOPSIS

IrrImageGetColorFormat( *ptr2IrrlichtImage )

## FUNCTION

Use this Function to get the Colorfromat from an Irrlicht Image.

## INPUTS

*ptr2irrlichtImage | - | Pointer to an Irrlicht Image

## RESULT

Returns the Colorformat from an Irrlicht Image or returns -1 if the Image isn't valid.

## EXAMPLE

      - none yet

## NOTES

Valid Color Formats: #IRR_ECF_A1R5G5B5 = 0 #IRR_ECF_R5G6B5 = 1 #IRR_ECF_R8G8B8 = 2 #IRR_ECF_A8R8G8B8 = 3