Whether the format has an alpha channel.
assert(has_alpha(.RGBA8));
assert(!has_alpha(.RGB8));has_alpha :: (format: Pixel_Format) -> bool
Parameters
- format: Pixel_Format
Returns
- bool
Whether the format has an alpha channel.
assert(has_alpha(.RGBA8));
assert(!has_alpha(.RGB8));has_alpha :: (format: Pixel_Format) -> bool