constexpr size_t BytesForTextureRegion(PixelFormat format, int64_t width, int64_t height)
The number of bytes required to store a width x height texel region in format. Block-compressed forma...
A lightweight object that describes the attributes of a texture that can then used an allocator to cr...
constexpr size_t GetByteSizeForDimensions(int64_t width, int64_t height) const
The number of bytes required to store an image of the given texel dimensions in this format....
constexpr size_t GetByteSizeOfBaseMipLevel() const
constexpr size_t GetBytesPerRow() const
constexpr size_t GetByteSizeOfAllMipLevels() const
constexpr bool SamplingOptionsAreValid() const
CompressionType compression_type
constexpr bool IsValid() const
constexpr bool operator==(const TextureDescriptor &other) const =default