summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/Color.h
blob: abc07241180e311dcec38ef19ebe180ac6820cb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#pragma once

#include "../Utilities/Type.h"

namespace Internal
{

    class Color
    {
    public:
        Color(float r = 0, float g = 0, float b = 0, float a = 0)
        {
            this->r = r;
            this->g = g;
            this->b = b;
            this->a = a;
        }
        float r, g, b, a;
    };

    class Color32
    {
    public:
        Color32(int r = 0, int g = 0, int b = 0, int a = 0)
        {
            this->r = r;
            this->g = g;
            this->b = b;
            this->a = a;
        }
        int r, g, b, a;

    };

}