FuncDoodle
Loading...
Searching...
No Matches
AssetLoader.h File Reference

Centralized asset management system for images, audio, and fonts. More...

#include "UI/Gui.h"
#include <filesystem>
#include "Audio/AudioManager.h"
#include "Util/Ptr.h"

Go to the source code of this file.

Classes

class  FuncDoodle::AssetLoader
 Convenient abstraction that's responsible for loading assets at a given assetsPath. More...

Namespaces

namespace  FuncDoodle
 The FuncDoodle C++ namespace.

Detailed Description

Centralized asset management system for images, audio, and fonts.

This file defines the AssetLoader class, which is responsible for loading, storing, and providing access to all runtime assets used by FuncDoodle.

Responsibilities include:

  • Loading and unloading assets from a configured assets directory
  • Managing image textures for rendering (via ImGui draw lists)
  • Loading and playing sound effects through AudioManager
  • Providing access to application fonts
Note
Designed to be instantiated once per application lifecycle.
Acts as a central abstraction layer over asset I/O and runtime resources.