Flutter Engine
The Flutter Engine
|
A lightweight object that describes the attributes of a texture that can then used an allocator to create that texture. More...
#include <texture_descriptor.h>
Public Member Functions | |
constexpr size_t | GetByteSizeOfBaseMipLevel () const |
constexpr size_t | GetBytesPerRow () const |
constexpr bool | SamplingOptionsAreValid () const |
constexpr bool | operator== (const TextureDescriptor &other) const |
constexpr bool | operator!= (const TextureDescriptor &other) const |
constexpr bool | IsValid () const |
A lightweight object that describes the attributes of a texture that can then used an allocator to create that texture.
Definition at line 37 of file texture_descriptor.h.
|
inlineconstexpr |
Definition at line 47 of file texture_descriptor.h.
|
inlineconstexpr |
Definition at line 54 of file texture_descriptor.h.
|
inlineconstexpr |
Definition at line 81 of file texture_descriptor.h.
|
inlineconstexpr |
Definition at line 77 of file texture_descriptor.h.
|
inlineconstexpr |
Definition at line 66 of file texture_descriptor.h.
|
inlineconstexpr |
Definition at line 61 of file texture_descriptor.h.
CompressionType impeller::TextureDescriptor::compression_type = CompressionType::kLossless |
Definition at line 45 of file texture_descriptor.h.
PixelFormat impeller::TextureDescriptor::format = PixelFormat::kUnknown |
Definition at line 40 of file texture_descriptor.h.
size_t impeller::TextureDescriptor::mip_count = 1u |
Definition at line 42 of file texture_descriptor.h.
SampleCount impeller::TextureDescriptor::sample_count = SampleCount::kCount1 |
Definition at line 44 of file texture_descriptor.h.
ISize impeller::TextureDescriptor::size |
Definition at line 41 of file texture_descriptor.h.
StorageMode impeller::TextureDescriptor::storage_mode = StorageMode::kDeviceTransient |
Definition at line 38 of file texture_descriptor.h.
TextureType impeller::TextureDescriptor::type = TextureType::kTexture2D |
Definition at line 39 of file texture_descriptor.h.
TextureUsageMask impeller::TextureDescriptor::usage = TextureUsage::kShaderRead |
Definition at line 43 of file texture_descriptor.h.