EHS
Color4.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Types.h
"
4
#include "
Color3.h
"
5
6
namespace
ehs
7
{
8
class
EHS_LIB_IO
Color4
9
{
10
public
:
11
float
r
;
12
float
g
;
13
float
b
;
14
float
a
;
15
16
Color4
();
17
18
Color4
(
float
scalar);
19
20
explicit
Color4
(
const
Color3
& color);
21
22
Color4
(
float
r,
float
g,
float
b,
float
a = 1.0f);
23
24
Color4
(
const
Color4
& color);
25
26
Color4
& operator=(
float
scalar);
27
28
Color4
& operator=(
const
Color3
& color);
29
30
Color4
& operator=(
const
Color4
& color);
31
32
bool
operator==
(
const
Color4
& color)
const
;
33
34
bool
operator!=
(
const
Color4
& color)
const
;
35
36
float
operator[](UInt_64 i)
const
;
37
38
float
& operator[](UInt_64 i);
39
40
Color4
& operator*=(
const
Color4
& color);
41
42
Color4
operator*(
const
Color4
& color)
const
;
43
};
44
}
Color3.h
operator!=
bool operator!=(const T *const first, const ehs::Str< T, N > &second)
Definition:
Str.h:1916
operator==
bool operator==(const T *const first, const ehs::Str< T, N > &second)
Definition:
Str.h:1906
Types.h
ehs::Color3
Definition:
Color3.h:8
ehs::Color4
Definition:
Color4.h:9
ehs::Color4::g
float g
Definition:
Color4.h:12
ehs::Color4::r
float r
Definition:
Color4.h:11
ehs::Color4::b
float b
Definition:
Color4.h:13
ehs::Color4::a
float a
Definition:
Color4.h:14
ehs
Definition:
Anchor.h:6
include
ehs
Color4.h
Generated by
1.9.4