private static string GetPropertyType( Shader s, int index ) {
ShaderUtil.ShaderPropertyType propertyType = ShaderUtil.GetPropertyType( s, index );
if( propertyType == ShaderUtil.ShaderPropertyType.TexEnv ) {
return ShaderForgeInspector.kTextureTypes[(int)ShaderUtil.GetTexDim( s, index )];
}
return ShaderForgeInspector.kPropertyTypes[(int)propertyType];
}