update uniform function & add mAdapterAttr