mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 23:08:05 -05:00
ObjLoading/ObjWriting: Initial skeleton for loading and writing obj files
This commit is contained in:
22
src/ObjLoading/ObjContainer/ObjContainerRegistry.h
Normal file
22
src/ObjLoading/ObjContainer/ObjContainerRegistry.h
Normal file
@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "ObjContainer/IObjContainer.h"
|
||||
#include "ObjContainer/ObjContainerReferenceable.h"
|
||||
#include "Zone/Zone.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class ObjContainerRegistry
|
||||
{
|
||||
std::vector<IObjContainer*> m_containers;
|
||||
|
||||
public:
|
||||
void AddContainer(IObjContainer* container);
|
||||
void AddContainerWithReference(ObjContainerReferenceable* container, Zone* referencer);
|
||||
void RemoveContainerReferences(Zone* referencer);
|
||||
|
||||
IObjContainer* GetContainerByName(const std::string& name);
|
||||
};
|
||||
|
||||
extern ObjContainerRegistry g_ObjContainerRegistry;
|
Reference in New Issue
Block a user