How to set a texture to a dynamic material (pure c++)?

You can select which Shader you want any particular Material to use. Simply expand the Shader
drop-down in the Inspector, and choose your new Shader. The Shader you choose will dictate the available properties to change. The properties can be colors, sliders, textures, numbers, or vectors myprepaidcenter.com