Use QSGTexture base class in header.