#include <texture.h>
Definition at line 17 of file texture.h.
◆ ~Texture()
| impeller::Texture::~Texture |
( |
| ) |
|
|
virtualdefault |
◆ Texture()
◆ GetCoordinateSystem()
Definition at line 77 of file texture.cc.
78 return coordinate_system_;
◆ GetMipCount()
| size_t impeller::Texture::GetMipCount |
( |
| ) |
const |
◆ GetSize()
| virtual ISize impeller::Texture::GetSize |
( |
| ) |
const |
|
pure virtual |
◆ GetTextureDescriptor()
◆ GetYCoordScale()
| Scalar impeller::Texture::GetYCoordScale |
( |
| ) |
const |
|
virtual |
◆ IsOpaque()
| bool impeller::Texture::IsOpaque |
( |
| ) |
const |
◆ IsValid()
| virtual bool impeller::Texture::IsValid |
( |
| ) |
const |
|
pure virtual |
◆ NeedsMipmapGeneration()
| bool impeller::Texture::NeedsMipmapGeneration |
( |
| ) |
const |
◆ OnSetContents() [1/2]
| virtual bool impeller::Texture::OnSetContents |
( |
const uint8_t * |
contents, |
|
|
size_t |
length, |
|
|
size_t |
slice |
|
) |
| |
|
protectedpure virtual |
◆ OnSetContents() [2/2]
| virtual bool impeller::Texture::OnSetContents |
( |
std::shared_ptr< const fml::Mapping > |
mapping, |
|
|
size_t |
slice |
|
) |
| |
|
protectedpure virtual |
◆ SetContents() [1/2]
| bool impeller::Texture::SetContents |
( |
const uint8_t * |
contents, |
|
|
size_t |
length, |
|
|
size_t |
slice = 0, |
|
|
bool |
is_opaque = false |
|
) |
| |
◆ SetContents() [2/2]
| bool impeller::Texture::SetContents |
( |
std::shared_ptr< const fml::Mapping > |
mapping, |
|
|
size_t |
slice = 0, |
|
|
bool |
is_opaque = false |
|
) |
| |
◆ SetCoordinateSystem()
Update the coordinate system used by the texture.
The setting is used to conditionally invert the coordinates to account for the different origin of GLES textures.
Definition at line 73 of file texture.cc.
74 coordinate_system_ = coordinate_system;
◆ SetLabel()
| virtual void impeller::Texture::SetLabel |
( |
std::string_view |
label | ) |
|
|
pure virtual |
◆ mipmap_generated_
| bool impeller::Texture::mipmap_generated_ = false |
|
protected |
The documentation for this class was generated from the following files:
const TextureDescriptor & GetTextureDescriptor() const
virtual bool OnSetContents(const uint8_t *contents, size_t length, size_t slice)=0