WiP
This commit is contained in:
parent
62281699ea
commit
7037abbcb6
11 changed files with 114 additions and 31 deletions
|
@ -58,6 +58,8 @@ public:
|
|||
|
||||
typedef shared_ptr<image> ptr;
|
||||
|
||||
sizei size() const;
|
||||
|
||||
protected:
|
||||
|
||||
sizei _size;
|
||||
|
|
|
@ -48,6 +48,11 @@ uint32_t image::bytes_per_pixel(image::pixel_layout t)
|
|||
return std::numeric_limits<uint32_t>::max();
|
||||
}
|
||||
|
||||
sizei image::size() const
|
||||
{
|
||||
return _size;
|
||||
}
|
||||
|
||||
image::pixel_layout image::layout() const
|
||||
{
|
||||
return _layout;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue