diff options
| author | Tony Wasserka <NeoBrainX@gmail.com> | 2014-03-10 15:59:32 +0100 |
|---|---|---|
| committer | Tony Wasserka <NeoBrainX@gmail.com> | 2014-03-25 23:33:04 +0100 |
| commit | 48a1790d812efe6abaf9c217962438f82b2525b7 (patch) | |
| tree | be5e76fec9e095836736b6b26eaa638387ccdea0 /Source/Core/VideoBackends/Software/TextureEncoder.cpp | |
| parent | 6351f28ab41172d7b07626da737d691ce88c9285 (diff) | |
Common: Add a generic class for accessing bitfields in a fast and endianness-independent way.
The underlying storage type of a bitfield can be any intrinsic integer type,
but also any enumeration.
Custom storage types are supported if the following things are defined on the storage type:
- casting 0 to the storage type
- bit shift operators (in both directions)
- bitwise & operator
- bitwise ~ operator
- std::make_unsigned specialization
Diffstat (limited to 'Source/Core/VideoBackends/Software/TextureEncoder.cpp')
0 files changed, 0 insertions, 0 deletions
