< Previous | Contents | Next >

Usage

node:AddInput(name, image)


node

Is a reference to the kernel compute node

name

Is a string that identifies the texture passed to the kernel

image

Is a reference to an Image object


Example


node:AddInput("src", img)