public Texture GetTexture (int nameID);
public Texture GetTexture (string name);

Parameters

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameThe name of the property.

Returns

Texture The value for the texture you specify. Returns null if VisualEffect.HasTexture returns false.

Description

Gets the value of a named texture property