By moving RS::TextureDetect(Roughness)Callback and RS::TextureInfo to RenderingServerTypes.
RSE
renderer_compositor.h