GRAPHICS: Factor out pass textures (un)bind intofunctions.