#include <texture.h>
Definition at line 16 of file texture.h.
◆ Texture() [1/3]
Definition at line 9 of file texture.cc.
14 context.GetContext()->GetResourceAllocator()->CreateTexture(descriptor);
15 if (!texture || !texture->IsValid()) {
18 texture->SetLabel(
"UserCreated");
19 backend_ =
context.GetContext()->GetBackendType();
20 texture_ = std::move(texture);
std::shared_ptr< ContextGLES > context
References context.
◆ Texture() [2/3]
Definition at line 23 of file texture.cc.
25 : backend_(backend), texture_(std::move(texture)) {}
◆ ~Texture()
| impeller::interop::Texture::~Texture |
( |
| ) |
|
|
overridedefault |
◆ Texture() [3/3]
| impeller::interop::Texture::Texture |
( |
const Texture & |
| ) |
|
|
delete |
◆ GetBackendType()
◆ GetTexture()
| const std::shared_ptr< impeller::Texture > & impeller::interop::Texture::GetTexture |
( |
| ) |
const |
◆ IsValid()
| bool impeller::interop::Texture::IsValid |
( |
| ) |
const |
◆ MakeImage()
◆ operator=()
◆ SetContents() [1/2]
| bool impeller::interop::Texture::SetContents |
( |
const uint8_t * |
contents, |
|
|
uint64_t |
length |
|
) |
| |
Definition at line 33 of file texture.cc.
37 return texture_->SetContents(contents, length);
References IsValid().
◆ SetContents() [2/2]
| bool impeller::interop::Texture::SetContents |
( |
std::shared_ptr< const fml::Mapping > |
contents | ) |
|
Definition at line 40 of file texture.cc.
44 return texture_->SetContents(std::move(contents));
References IsValid().
The documentation for this class was generated from the following files: