1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00
GLideN64/src/CombinerKey.h
2017-01-08 17:49:53 +07:00

28 lines
518 B
C++

#pragma once
#include <istream>
#include "gDP.h"
class CombinerKey {
public:
CombinerKey() = default;
explicit CombinerKey(u64 _mux);
CombinerKey(const CombinerKey & _other);
void operator=(u64 _mux);
void operator=(const CombinerKey & _other);
bool operator==(const CombinerKey & _other) const;
bool operator<(const CombinerKey & _other) const;
bool isRectKey() const;
u32 getCycleType() const;
u64 getMux() const { return m_key.mux; }
void read(std::istream & _is);
private:
gDPCombine m_key;
};