Users who create effect modules must prepare functions that correspond to steps 2) to 4) above.
■About bitmap memory
Color depth: 1
Arrange the bitmap at 1 bit/pixel.
However, in the horizontal direction, there is a 1-bite boundary.
1 is displayed in black and 0 is displayed in white.
Color depth: 4
16 color index format.
Arrange RGBQUAD structures for 16 colors.
After that, place the bitmap at 4 bits/pixel.
However, in the horizontal direction, there is a 1-bite boundary.
Color depth: 8
256 color index format.
Arrange RGBQUAD structures for 256 colors.
After that, place the bitmap at 8 bits/pixel.
Color depth: 16
Direct color format.
Arrange the bitmap at 16 bits/pixel.
Each color intensity is formatted as 0b|R5|G5|B5.
Color depth: 24 (32)
Direct color format.
Arrange the bitmap at 32 bits/pixel.
Each color intensity is formatted as 8b|R8|G8|B8.