Version: 2019.2
Experimental: this API is experimental and might be changed or removed in the future.

VisualEffect.GetTextureDimension

Switch to Manual
public Rendering.TextureDimension GetTextureDimension (int nameID);
public Rendering.TextureDimension GetTextureDimension (string name);

Parameters

nameIDThe name ID of the property retrieved by Shader.PropertyToID.
nameThe name of the property.

Description

Get expected texture dimension for a named exposed texture.