Add input layout generated per mesh with caching. Uses vertex shader generated on the fly for feeding CreateInputLayout.