mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-11 23:53:55 +00:00
13 lines
451 B
C
13 lines
451 B
C
#pragma once
|
|
|
|
#include "base/basictypes.h"
|
|
|
|
uint32_t whiteAlpha(float alpha);
|
|
uint32_t blackAlpha(float alpha);
|
|
uint32_t colorAlpha(uint32_t color, float alpha);
|
|
uint32_t colorBlend(uint32_t color, uint32_t color2, float alpha);
|
|
uint32_t alphaMul(uint32_t color, float alphaMul);
|
|
uint32_t rgba(float r, float g, float b, float alpha);
|
|
uint32_t rgba_clamp(float r, float g, float b, float alpha);
|
|
uint32_t hsva(float h, float s, float v, float alpha);
|