Method AddTexture
AddTexture(string, RenderTexture)
Registers a texture input under the name graph input nodes will request.
public void AddTexture(string name, RenderTexture texture)
Parameters
namestringThe input name used by graph nodes, such as one of the reserved values in GraphConstants or a subgraph input name.
textureRenderTextureThe texture to expose during execution.
Remarks
The container stores the reference only; it does not clone or take ownership of the texture.