「App:Library:FabGL:Enumerations:PixelFormat」の版間の差分
提供: robot-jp wiki
ナビゲーションに移動検索に移動 (ページの作成:「 ----[https://robot-jp.com/wiki/index.php/App:Library:FabGL:Enumerations 戻る]」) |
|||
(同じ利用者による、間の2版が非表示) | |||
1行目: | 1行目: | ||
+ | ==enum [http://www.fabglib.org/group___enumerations_gafe919d7a7aeba256337f0fc494cf7221.html#gafe919d7a7aeba256337f0fc494cf7221 PixelFormat]== | ||
+ | この列挙型は、ピクセル形式を定義します。 | ||
+ | {| class="wikitable" | ||
+ | ! colspan="2" |'''Enumerator''' | ||
+ | |- | ||
+ | |Undefined | ||
+ | |Undefined pixel format | ||
+ | |- | ||
+ | |Native | ||
+ | |Native device pixel format | ||
+ | |- | ||
+ | |Mask | ||
+ | |1 bit per pixel. 0 = transparent, 1 = opaque (color must be specified apart) | ||
+ | |- | ||
+ | |RGBA2222 | ||
+ | |8 bit per pixel: AABBGGRR (bit 7=A 6=A 5=B 4=B 3=G 2=G 1=R 0=R). AA = 0 fully transparent, AA = 3 fully opaque. Each color channel can have values from 0 to 3 (maxmum intensity). | ||
+ | |- | ||
+ | |RGBA8888 | ||
+ | |32 bits per pixel: RGBA (R=byte 0, G=byte1, B=byte2, A=byte3). Minimum value for each channel is 0, maximum is 255. | ||
+ | |} | ||
+ | '''[http://www.fabglib.org/displaycontroller_8h_source.html#l00444 line 444 of file displaycontroller.h]'''に定義されています。 | ||
----[https://robot-jp.com/wiki/index.php/App:Library:FabGL:Enumerations 戻る] | ----[https://robot-jp.com/wiki/index.php/App:Library:FabGL:Enumerations 戻る] |
2022年3月21日 (月) 23:38時点における最新版
enum PixelFormat
この列挙型は、ピクセル形式を定義します。
Enumerator | |
---|---|
Undefined | Undefined pixel format |
Native | Native device pixel format |
Mask | 1 bit per pixel. 0 = transparent, 1 = opaque (color must be specified apart) |
RGBA2222 | 8 bit per pixel: AABBGGRR (bit 7=A 6=A 5=B 4=B 3=G 2=G 1=R 0=R). AA = 0 fully transparent, AA = 3 fully opaque. Each color channel can have values from 0 to 3 (maxmum intensity). |
RGBA8888 | 32 bits per pixel: RGBA (R=byte 0, G=byte1, B=byte2, A=byte3). Minimum value for each channel is 0, maximum is 255. |
line 444 of file displaycontroller.hに定義されています。