How to Implement dynamic texture in c++ plugin?

Actually, it does not disappear but name of texture does not take class name. it appear as BaseTexture.