btu/tex/texture.hpp file

Namespaces

namespace DirectX
namespace btu
namespace btu::tex

Classes

class btu::tex::Texture

Functions

auto load(Path path) →  tl::expected<Texture, Error> noexcept
auto load(Path relative_path, std::span<std::byte> data) →  tl::expected<Texture, Error> noexcept
auto operator==(const ScratchImage& lhs, const ScratchImage& rhs) →  bool noexcept
auto operator==(const TexMetadata& lhs, const TexMetadata& rhs) →  bool noexcept
auto save(const Texture& tex, const Path& path) →  ResultError noexcept
auto save(const Texture& tex) →  tl::expected<std::vector<std::byte>, Error> noexcept

Variables

auto canonize_path constexpr