- Added initialization code to Texture class.