Version: 2019.4
public Rendering.TextureDimension GetTextureDimension (int nameID);
public Rendering.TextureDimension GetTextureDimension (string name);

パラメーター

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameプロパティーの名前

説明

Gets expected texture dimension for a named exposed texture.