Lines Matching refs:Color4f
11 struct Color4f { struct
13 constexpr Color4f() : in Color4f() argument
18 constexpr Color4f(float v_) : in Color4f() function
23 constexpr Color4f(float r_, float g_, float b_) : in Color4f() argument
28 constexpr Color4f(float r_, float g_, float b_, float a_) : in Color4f() function
35 Color4f &operator*=(const float v)
43 …friend Color4f operator*(const Color4f &c, const float v) { return Color4f(c.r * v, c.g * v, c.b *…
46 static Color4f FromLuaTable(lua_State *l, int idx);
50 static const Color4f BLACK; argument
51 static const Color4f WHITE; argument
52 static const Color4f RED; argument
53 static const Color4f GREEN; argument
54 static const Color4f BLUE; argument
55 static const Color4f YELLOW; argument
56 static const Color4f GRAY; argument
57 static const Color4f STEELBLUE; argument
58 static const Color4f BLANK; argument
84 constexpr Color4ub(const Color4f &c) : in Color4ub()
121 Color4f ToColor4f() const { return Color4f(r / 255.0f, g / 255.0f, b / 255.0f, a / 255.0f); } in ToColor4f()
166 constexpr Color3ub(const Color4f &c) : in Color3ub()
185 Color4f ToColor4f() const { return Color4f(r / 255.0f, g / 255.0f, b / 255.0f); } in ToColor4f()