IrrSetNodeMaterialTexture

section index

## NAME

IrrSetNodeMaterialTexture - Sets the texture

## SYNOPSIS

IrrSetNodeMaterialTexture(*node.l, *texture.l, index.l)

## INPUTS

*node.l | - | pointer to a Scene Node
*texture.l | - | pointer to a texture (loaded with IrrGetTexture() )
index.l | - | Layer of texture to be set. Must be a value greater or equal than 0 and smaller than 4

## FUNCTION

Sets the texture of the specified layer in all materials of this scene node to the new texture.

## RESULT

nothing