Vixen
02b45cc4
csharp
public enum TextureChannels

Which channels of a texture the viewer is showing.

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

Remarks

A flags enum rather than a single choice, because the two questions a channel viewer answers are "what is in the green channel" — one at a time — and "what does this look like without its alpha" — three at once. One radio group can only ask the first.

Fields and properties (7)

  • None

    Nothing, which draws black rather than nothing at all.

  • Red

    Red.

  • Green

    Green.

  • Blue

    Blue.

  • Alpha

    Alpha.

  • All

    Colour with its alpha applied — what the texture looks like in use.

  • Colour

    Colour with the alpha ignored, which is what is actually stored.

Used by (2)

  • ImportViewTestsVixen.Editor.AssetEditors.Tests
  • TextureImportViewVixen.Editor.AssetEditors