Add debug info to Shader, add memory size to texture