「App:Library:FabGL:Enumerations:PixelFormat」の版間の差分
提供: robot-jp wiki
ナビゲーションに移動検索に移動1行目: | 1行目: | ||
− | ==enum | + | ==enum PixelFormat== |
− | + | この列挙型は、ピクセル形式を定義します。 | |
{| class="wikitable" | {| class="wikitable" | ||
! colspan="2" |'''Enumerator''' | ! 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. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |0 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | '''[http://www.fabglib.org/ | + | '''[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日 (月) 22:17時点における版
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に定義されています。