How to assign textures with grasshopper?

Hi,

rs.MaterialTexture() fuction is not available in ghdoc i have to switch to RhinoDoc but this is inconvenient for me.

Is there any way to assign textures in gh?