Version: 2017.1
public static Rendering.TextureDimension GetTexDim (Shader s, int propertyIdx);

Parámetros

s The shader to get the property from.
propertyIdx The property index to use.

Valor de retorno

TextureDimension Texture dimension.

Descripción

Gets texture dimension of a shader property.