cacheAsBitmap

hello all,
i wonder if anyone can tell me, does the cacheasbitmap function only work on vectors?
thanks