Vixen
dd8b0a81
csharp
public enum ImageColorSpace

Which transfer function a view is asking the pixels be shown through.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ The two commonest "why does this look wrong" moments in a texturing tool are one mislabelled texture apart, and they look like different bugs: an sRGB texture shown as linear is washed out and flat, and a linear one shown as sRGB is dark and contrasty. Neither is a defect in the pixels, and neither can be told from a defect in the pixels by looking at one of them. A toggle settles it in one click, which is the whole reason it is a control's property rather than a fact read off the file.

Fields and properties (2)

  • Srgb

    Shown as authored: the sRGB transfer function applied on the way to the screen.

  • Linear

    Shown as stored, with no transfer function — what a normal map or a roughness map is.

Used by (6)

  • ImageViewVixen.Ui.Controls.Advanced
  • ImageViewBarVixen.Ui.Controls.Advanced
  • ImageViewBarTestsVixen.Ui.Controls.Advanced.Tests
  • ImageViewRequestVixen.Ui.Controls.Advanced
  • ImageViewTestsVixen.Ui.Controls.Advanced.Tests
  • ImageViewBarWiringTestsVixen.Editor.Texturing.Tests