Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ShaderUtil.GetTexDim

public static function GetTexDim(s: Shader, propertyIdx: int): ShaderPropertyTexDim;

Parameters

s The shader to check against.
propertyIdx The property index to use.

Description

Gets the ShaderPropertyTexDim of the texture at property index propertyIdx of Shader s.