Many of us already know the answer. But for anyone who needs proof, here is some evidence.
Now you can't look directly at a raw image. The raw information captured under the Bayer (or X-Trans) array needs to be converted (demosaiced) into an RGB image. Even the image displayed by
RawDigger has been converted to make it visible. The only way to determine what the raw file contains is to look at the raw histogram.
The histograms you see on the back of your camera or in your raw editor are derived from the converted image, not the raw file.
In this image the camera was set to Daylight WB. The camera was at 1/50s @ f/4 ISO 1600:
RawDigger shows the converted image on the left using the WB "As Shot" - the camera's WB. The histograms on the right show how the red, green and blue raw channels recorded.
In the second image the camera was set to Incandescent WB. The camera was still at 1/50s @ f/4 ISO 1600:
Since RawDigger is still showing the image As Shot, the camera's WB made the image come out better. But notice the histograms. They are virtually identical to the first example.
But the JPEG histograms on the camera's LCD are different. They would also be different in a raw editor since those are also JPEG histograms, not raw histograms.
Nice clear summary with great examples.
What's more, the number of overexposed pixels are almost exactly the same and the highlight warnings were flashing in the same places with the same intensity.
And to top things off, the recommended exposure using Matrix metering was the same for both images.
So the camera's meter and blinkies are tied directly to the raw file, not the white balanced JPEG (this may not be the case with Active D-Lighting turned on). And the raw file content is indeed independent of the WB setting.
Later I will post another example taken in broad daylight.
Many of us already know the answer. But for anyon... (