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

nameID通过 Shader.PropertyToID 检索的属性的名称 ID。
name属性的名称。

Description

Get expected texture dimension for a named exposed texture.