[]
        
(Showing Draft Content)

C1.Util.DX.WIC.PixelFormatInfo.GetChannelMask

GetChannelMask Method

GetChannelMask(int)

Gets the channel mask.

Declaration
public byte[] GetChannelMask(int channelIndex)
Parameters
Type Name Description
int channelIndex

Index of the channel.

Returns
Type Description
byte[]

GetChannelMask(int, int, IntPtr)

HRESULT IWICPixelFormatInfo::GetChannelMask([In] unsigned int uiChannelIndex,[In] unsigned int cbMaskBuffer,[In] void* pbMaskBuffer,[Out] unsigned int* pcbActual)

Declaration
public int GetChannelMask(int channelIndex, int maskBuffer, IntPtr maskBufferRef)
Parameters
Type Name Description
int channelIndex
int maskBuffer
IntPtr maskBufferRef
Returns
Type Description
int