Only allow Color4F for textures - speeds up and simplifies the code