PixelDataFormat.GetRgba

GetRgba(int)

サンプルごとに指定されたビット数で RGBA カラーを取得します。

public static PixelDataFormat GetRgba(int bitsPerSample)
パラメータタイプ説明
bitsPerSampleInt32サンプルあたりのビット数。

戻り値

RGBA カラー。

関連項目


GetRgba(int, int, int, int)

サンプルごとに指定されたビット数で RGBA カラーを取得します。

public static PixelDataFormat GetRgba(int bitsPerRedChannel, int bitsPerGreenChannel, 
    int bitsPerBlueChannel, int bitsPerAlphaChannel)
パラメータタイプ説明
bitsPerRedChannelInt32赤チャンネルあたりのビット数。
bitsPerGreenChannelInt32グリーン チャネルあたりのビット数。
bitsPerBlueChannelInt32青チャンネルあたりのビット数。
bitsPerAlphaChannelInt32アルファ チャネルあたりのビット数。

戻り値

RGBA カラー。

関連項目