Using draw_rect() or draw() for 3d mesh textures?

Godot Version

4.2.1

Question

Does anyone know a way to use draw_rect() or draw() functions to make textures for 3d meshes?