Assign texture referenced by FTexture2DRHIRef directly in Material Instance Dynamic?

I intend to do the same. So when I implement a custom UTexture class, what do I do with the RHI reference after passing it to the Init/Create methods? I’ve looked at the source for UTexture2DDynamic, but couldn’t find anything.