This is called building your 'catalogue' in art, especially concept art. In order to draw something (well) from imagination, you should draw it from reference many times. Then when you draw from imagination, your brain will pull from what it knows. And since you studied the subjects, the textures, the shapes, etc, so well, you will have that stored away and will be able to do so.