// * // Set selection. // \param selection Mode which channel should selected (default SELECT_GRAY) // ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// public Channel setSelection(CANNEL_SELECTION selection) { mSelection = selection; return this; }
// * // Default constructor. // \param pBuffer Image buffer where to modify the image. // public Channel(TextureBuffer pBuffer) : base(pBuffer, "Channel") { mSelection = CANNEL_SELECTION.SELECT_GRAY; }