#include <texture.h>
Definition at line 16 of file texture.h.
◆ Texture() [1/3]
Definition at line 9 of file texture.cc.
9 {
11 return;
12 }
14 context.GetContext()->GetResourceAllocator()->CreateTexture(descriptor);
16 return;
17 }
18 texture->SetLabel(
"UserCreated");
19 backend_ =
context.GetContext()->GetBackendType();
21}
std::shared_ptr< ContextGLES > context
References context, and texture.
◆ 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()
Definition at line 51 of file texture.cc.
51 {
52 return backend_;
53}
◆ GetTexture()
| const std::shared_ptr< impeller::Texture > & impeller::interop::Texture::GetTexture |
( |
| ) |
const |
Definition at line 55 of file texture.cc.
55 {
56 return texture_;
57}
◆ IsValid()
| bool impeller::interop::Texture::IsValid |
( |
| ) |
const |
◆ MakeImage()
◆ operator=()
◆ SetContents() [1/2]
| bool impeller::interop::Texture::SetContents |
( |
const uint8_t * |
contents, |
|
|
uint64_t |
length |
|
) |
| |
◆ SetContents() [2/2]
| bool impeller::interop::Texture::SetContents |
( |
std::shared_ptr< const fml::Mapping > |
contents | ) |
|
Definition at line 40 of file texture.cc.
40 {
42 return false;
43 }
44 return texture_->SetContents(std::move(contents));
45}
References IsValid().
The documentation for this class was generated from the following files: