Is there way to save material/rendertarget?

RebuildSpawnIcon makes a png image from ModelPanel, but it’s engine function is there way to save in rendertarger in materials like RebuildSpawnIcon does it in materials/spawnicons/models?