mirror of
https://github.com/encounter/aurora.git
synced 2026-07-09 18:19:33 -07:00
14 lines
516 B
C++
14 lines
516 B
C++
#pragma once
|
|
|
|
#include "texture.hpp"
|
|
#include <optional>
|
|
|
|
namespace aurora::gfx::texture_replacement {
|
|
void initialize() noexcept;
|
|
void shutdown() noexcept;
|
|
void register_tlut(const GXTlutObj* obj, const void* data, GXTlutFmt format, uint16_t entries) noexcept;
|
|
void load_tlut(const GXTlutObj* obj, uint32_t idx) noexcept;
|
|
std::optional<TextureHandle> find_replacement(const GXTexObj_& obj) noexcept;
|
|
bool try_bind_replacement(GXTexObj_& obj, GXTexMapID id) noexcept;
|
|
} // namespace aurora::gfx::texture_replacement
|