-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRGBA.h
64 lines (55 loc) · 1.76 KB
/
RGBA.h
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#ifndef __KL2EDK_AUTOGEN_RGBA__
#define __KL2EDK_AUTOGEN_RGBA__
////////////////////////////////////////////////////////////////
// THIS FILE IS AUTOMATICALLY GENERATED -- DO NOT MODIFY!!
////////////////////////////////////////////////////////////////
// Generated by kl2exe version 1.11.4
////////////////////////////////////////////////////////////////
#include <Fabric/EDK/EDK.h>
#if FABRIC_EDK_VERSION_MAJ != 1 || FABRIC_EDK_VERSION_MIN != 11
# error "This file needs to be rebuilt for the current EDK version!"
#endif
#include "global.h"
namespace Fabric { namespace EDK { namespace KL {
// KL struct 'RGBA'
// Defined at RGBA.kl:15:1
struct RGBA
{
typedef RGBA &Result;
typedef RGBA const &INParam;
typedef RGBA &IOParam;
UInt8 r;
UInt8 g;
UInt8 b;
UInt8 a;
};
inline void Traits<RGBA>::ConstructEmpty( RGBA &val )
{
Traits< UInt8 >::ConstructEmpty( val.r );
Traits< UInt8 >::ConstructEmpty( val.g );
Traits< UInt8 >::ConstructEmpty( val.b );
Traits< UInt8 >::ConstructEmpty( val.a );
}
inline void Traits<RGBA>::ConstructCopy( RGBA &lhs, RGBA const &rhs )
{
Traits< UInt8 >::ConstructCopy( lhs.r, rhs.r );
Traits< UInt8 >::ConstructCopy( lhs.g, rhs.g );
Traits< UInt8 >::ConstructCopy( lhs.b, rhs.b );
Traits< UInt8 >::ConstructCopy( lhs.a, rhs.a );
}
inline void Traits<RGBA>::AssignCopy( RGBA &lhs, RGBA const &rhs )
{
Traits< UInt8 >::AssignCopy( lhs.r, rhs.r );
Traits< UInt8 >::AssignCopy( lhs.g, rhs.g );
Traits< UInt8 >::AssignCopy( lhs.b, rhs.b );
Traits< UInt8 >::AssignCopy( lhs.a, rhs.a );
}
inline void Traits<RGBA>::Destruct( RGBA &val )
{
Traits< UInt8 >::Destruct( val.a );
Traits< UInt8 >::Destruct( val.b );
Traits< UInt8 >::Destruct( val.g );
Traits< UInt8 >::Destruct( val.r );
}
}}}
#endif // __KL2EDK_AUTOGEN_RGBA__