Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

ShaderUtil.GetTexDim

Switch to Manual
public static function GetTexDim(s: Shader, propertyIdx: int): ShaderUtil.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.