dl
dl::ABGR 命名空间参考

ABGR专用(请优先使用RGBA,除非你知道你在做什么) 更多...

函数

constexpr uint32_t Create (const Color &col)
 颜色转为uint32_t颜色
 
constexpr Color CreateColor (uint32_t dw)
 创建颜色
 
constexpr uint8_t GetA (uint32_t dw_col)
 ABGR颜色获取A通道
 

详细描述

ABGR专用(请优先使用RGBA,除非你知道你在做什么)

函数说明

◆ Create()

uint32_t dl::ABGR::Create ( const Color & col)
constexpr

颜色转为uint32_t颜色

在文件 dl_color.h284 行定义.

◆ CreateColor()

Color dl::ABGR::CreateColor ( uint32_t dw)
constexpr

创建颜色

参数
[in]uint32_tABGR

在文件 dl_color.h296 行定义.

◆ GetA()

uint8_t dl::ABGR::GetA ( uint32_t dw_col)
constexpr

ABGR颜色获取A通道

在文件 dl_color.h309 行定义.