< Previous | Contents | Next >
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
node:AddInput("src", img)