bootflow_texture_override.h 728 B

12345678910111213141516171819
  1. #pragma once
  2. namespace sunrise::client::hooks::bootflow::texture_override {
  3. /**
  4. * Replaces selected decoded bootflow texture entries by TagHash with DDS data embedded in Sunrise.
  5. * The stock package remains registered and unchanged.
  6. * @param module Sunrise DLL module that owns the RCDATA resources.
  7. * @return True while the native GPU-resource callback detour is attached.
  8. */
  9. [[nodiscard]] bool install(void* module) noexcept;
  10. /** @return True when the callback detour is detached. */
  11. [[nodiscard]] bool uninstall() noexcept;
  12. /** @return True while decoded bootflow texture entries are being overridden. */
  13. [[nodiscard]] bool is_installed() noexcept;
  14. } // namespace sunrise::client::hooks::bootflow::texture_override