#include <image.h>
Definition at line 14 of file image.h.
◆ Image()
impeller::Image::Image |
( |
std::shared_ptr< Texture > |
texture | ) |
|
|
explicit |
◆ ~Image()
impeller::Image::~Image |
( |
| ) |
|
|
default |
◆ GetSize()
ISize impeller::Image::GetSize |
( |
| ) |
const |
Definition at line 13 of file image.cc.
13 {
14 return texture_ ? texture_->GetSize() :
ISize{};
15}
◆ GetTexture()
std::shared_ptr< Texture > impeller::Image::GetTexture |
( |
| ) |
const |
Definition at line 17 of file image.cc.
17 {
18 return texture_;
19}
The documentation for this class was generated from the following files: