- Implemented device detection and automatic selection of KREngine memory management parameters
- Now detecting iPad 3 and adjusting parameters to utilize the greater RAM capacity --HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40135
This commit is contained in:
@@ -9,14 +9,27 @@
|
||||
#ifndef KREngine_KRContext_h
|
||||
#define KREngine_KRContext_h
|
||||
|
||||
#import "KREngine-common.h"
|
||||
#import "KRBundleManager.h"
|
||||
#import "KRSceneManager.h"
|
||||
#import "KRTextureManager.h"
|
||||
#import "KRMaterialManager.h"
|
||||
#import "KRShaderManager.h"
|
||||
#import "KRModelManager.h"
|
||||
|
||||
class KRContext {
|
||||
public:
|
||||
static int KRENGINE_MAX_VBO_HANDLES;
|
||||
static int KRENGINE_MAX_VBO_MEM;
|
||||
static int KRENGINE_MAX_SHADER_HANDLES;
|
||||
static int KRENGINE_MAX_TEXTURE_HANDLES;
|
||||
static int KRENGINE_MAX_TEXTURE_MEM;
|
||||
static int KRENGINE_TARGET_TEXTURE_MEM_MAX;
|
||||
static int KRENGINE_TARGET_TEXTURE_MEM_MIN;
|
||||
static int KRENGINE_MAX_TEXTURE_DIM;
|
||||
static int KRENGINE_MIN_TEXTURE_DIM;
|
||||
|
||||
|
||||
KRContext();
|
||||
~KRContext();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user