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

파라미터

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

반환

TextureDimension Texture dimension.

설명

Gets texture dimension of a shader property.