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