Is there any way to get a texture of a **displacement**?

I know you can use MatTypes, and trace.HitTexture, but since some of the surfaces that I need to check are displacements, I have no reliable way of checking the texture. Does anybody know of any way to do it otherwise?