This command returns 1 if the current device supports using depth images with SetRenderToImage. If this returns 0 then the only valid depth image IDs to SetRenderToImage are 0 for no depth, or -1 for a normal depth buffer.
integer IsSupportedDepthTexture()