awtk/docs/manual/bitmap_flag_t.md
2020-06-26 17:45:03 +08:00

15 lines
575 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## bitmap\_flag\_t
### 概述
位图标志常量定义。
### 常量
<p id="bitmap_flag_t_consts">
| 名称 | 说明 |
| -------- | ------- |
| BITMAP\_FLAG\_NONE | 无特殊标志。 |
| BITMAP\_FLAG\_OPAQUE | 不透明图片。 |
| BITMAP\_FLAG\_IMMUTABLE | 图片内容不会变化。 |
| BITMAP\_FLAG\_TEXTURE | OpenGL Texture, bitmap的id是有效的texture id。 |
| BITMAP\_FLAG\_CHANGED | 如果是MUTABLE的图片更新时需要设置此标志底层可能会做特殊处理比如更新图片到GPU。 |
| BITMAP\_FLAG\_PREMULTI\_ALPHA | 预乘alpha。 |