code: public AiTextureMapMode getTextureMapModeW(AiTextureType type, int index) {
          checkTexRange(type, index);
          
          Property p = getProperty(PropertyKey.TEX_MAP_MODE_W.m_key);
          
          if (null == p || null == p.getData()) {
              return (AiTextureMapMode) m_defaults.get(
                      PropertyKey.TEX_MAP_MODE_W);
          }
          
          return AiTextureMapMode.fromRawValue(p.getData());
      }
docs: Returns the texture mapping mode for the w axis.<p>
  
  If missing, defaults to {@link AiTextureMapMode#CLAMP}
  
  @param type the texture type
  @param index the index in the texture stack
  @return the texture mapping mode