Implemented KRBundle's
Implementation of logic to allow dynamic loading and unloading of meshes and models for scenes larger than RAM in progress --HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4090
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#ifndef KREngine_KRContext_h
|
||||
#define KREngine_KRContext_h
|
||||
|
||||
#import "KRBundleManager.h"
|
||||
#import "KRSceneManager.h"
|
||||
#import "KRTextureManager.h"
|
||||
#import "KRMaterialManager.h"
|
||||
@@ -21,8 +22,10 @@ public:
|
||||
KRContext();
|
||||
~KRContext();
|
||||
|
||||
void loadResource(const std::string &file_name, KRDataBlock *data);
|
||||
void loadResource(std::string path);
|
||||
|
||||
KRBundleManager *getBundleManager();
|
||||
KRSceneManager *getSceneManager();
|
||||
KRTextureManager *getTextureManager();
|
||||
KRMaterialManager *getMaterialManager();
|
||||
@@ -32,6 +35,7 @@ public:
|
||||
KRCamera *createCamera(int width, int height);
|
||||
|
||||
private:
|
||||
KRBundleManager *m_pBundleManager;
|
||||
KRSceneManager *m_pSceneManager;
|
||||
KRTextureManager *m_pTextureManager;
|
||||
KRMaterialManager *m_pMaterialManager;
|
||||
|
||||
Reference in New Issue
Block a user