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

VisualEffect.GetTextureDimension

Cambiar al Manual
public Rendering.TextureDimension GetTextureDimension (int nameID);
public Rendering.TextureDimension GetTextureDimension (string name);

Parámetros

nameIDEl ID del nombre de la propiedad recuperada por Shader.PropertyToID.
nameEl nombre de una propiedad.

Descripción

Get expected texture dimension for a named exposed texture.