Golias Engine
A C++ 20 'game engine' built with SDL3 with wide platform support.
Public Member Functions | List of all members
SDLIOSystem Class Reference

Custom Assimp IOSystem implementation for asset loading. More...

#include <assimp_io.h>

Inheritance diagram for SDLIOSystem:

Public Member Functions

 SDLIOSystem (const std::string &base_path)
 
 ~SDLIOSystem () override
 
bool Exists (const char *pFile) const override
 
char getOsSeparator () const override
 
Assimp::IOStream * Open (const char *pFile, const char *pMode="rb") override
 
void Close (Assimp::IOStream *pFile) override
 

Detailed Description

Custom Assimp IOSystem implementation for asset loading.

Allows Assimp to load models with external dependencies (like OBJ+MTL) through the engine's FileAccess system, supporting both desktop and Android

Constructor & Destructor Documentation

◆ SDLIOSystem()

SDLIOSystem::SDLIOSystem ( const std::string &  base_path)
explicit

◆ ~SDLIOSystem()

SDLIOSystem::~SDLIOSystem ( )
override

Member Function Documentation

◆ Close()

void SDLIOSystem::Close ( Assimp::IOStream *  pFile)
override

◆ Exists()

bool SDLIOSystem::Exists ( const char *  pFile) const
override

◆ getOsSeparator()

char SDLIOSystem::getOsSeparator ( ) const
override

◆ Open()

Assimp::IOStream * SDLIOSystem::Open ( const char *  pFile,
const char *  pMode = "rb" 
)
override

The documentation for this class was generated from the following files: