btu/tex/optimize.hpp file

Namespaces

namespace btu
namespace btu::tex

Classes

struct btu::tex::Settings

Functions

NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(Settings, game, compress, resize, mipmaps, use_format_whitelist, allowed_formats, output_format, landscape_textures) struct OptimizationSteps
auto compute_optimization_steps(const Texture& file, const Settings& sets) →  OptimizationSteps noexcept
auto compute_optimization_steps(const CrunchTexture& file, const Settings& sets) →  OptimizationSteps noexcept
auto optimize(Texture&& file, OptimizationSteps sets, CompressionDevice& dev) →  Result noexcept
auto optimize(CrunchTexture&& file, OptimizationSteps sets, CompressionDevice& dev) →  ResultCrunch noexcept