IrrGuiAddImageFromTexture

section index

## NAME

IrrGuiAddImageFromTexture - Adds a Image with a Texture

## SYNOPSIS

*element.l = IrrGuiAddImageFromTexture(*texture.l, posX.l, posY.l,[bUseAlphaChannel, [*parent.l, [id.l]]])

## INPUTS

*texture.l | - | pointer to a Texture
posX.l,posY.l | - | position of the Element
bUseAlphaChannel.l | - | Sets if the image should use the alpha channel of the texture to draw itself.
*parent.l | - | is the parent item of the element. E.g. a window. Set it to #Null (default) to place the Image directly in the environment.

## FUNCTION

Add a Image with a Texture (previously loaded). The Size of this Element is defined by the size of the Texture.

## RESULT

Returns pointer to the Element when Success