IrrImageLock

section index

## NAME

IrrImageLock - Lock an Irrlicht Image

## SYNOPSIS

IrrImageLock( *ptr2IrrlichtImage )

## FUNCTION

Lock function. Use this to get a pointer to the image data. After you don't need the pointer anymore, you must call IrrImageUnlock().

## INPUTS

*ptr2irrlichtImage | - | Pointer to an Irrlicht Image

## RESULT

Returns pointer to the image data. What type of data is pointed to depends on the color format of the image. For example if the color format is #IRR_ECF_A8R8G8B8. Be sure to call IrrImageUnlock() after you don't need the pointer any more.

## EXAMPLE

      - none yet

## NOTES

- none yet