mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-23 19:21:09 +00:00
Add accessors for image dimensions
This commit is contained in:
parent
36641c2268
commit
40b479487c
|
@ -74,6 +74,9 @@ class Image {
|
||||||
Pixel &operator()(uint32 i, uint32 j);
|
Pixel &operator()(uint32 i, uint32 j);
|
||||||
const Pixel &operator()(uint32 i, uint32 j) const;
|
const Pixel &operator()(uint32 i, uint32 j) const;
|
||||||
|
|
||||||
|
uint32 GetWidth() const { return m_Width; }
|
||||||
|
uint32 GetHeight() const { return m_Height; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint32 m_Width;
|
uint32 m_Width;
|
||||||
uint32 m_Height;
|
uint32 m_Height;
|
||||||
|
|
Loading…
Reference in a new issue