Vixen
dd8b0a81
csharp
public enum ImageChannels

Which channels of an image a view is asking to be shown.

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

Remarks

One choice rather than a set of flags, unlike the texture importer's TextureChannels. That one answers "what does this look like without its alpha", which is three channels at once; this one answers "what is in the green channel", which is one at a time and is the question a texturing tool is asked all day. A tool that needs both offers two controls rather than one enum meaning two things.

Fields and properties (5)

  • Rgb

    Colour, with the alpha showing the chequerboard through it. What a texture is.

  • Red

    Red alone.

  • Green

    Green alone.

  • Blue

    Blue alone.

  • Alpha

    Alpha alone, as a grey.

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