Inline declare some variables in Texture.cpp