45#define OOMESH_PROFILE 0
136 NSUInteger _textureUnitCount;
141 double _stopwatchLastTime;
145+ (instancetype) meshWithName:(NSString *)name
146 cacheKey:(NSString *)cacheKey
147 materialDictionary:(NSDictionary *)materialDict
148 shadersDictionary:(NSDictionary *)shadersDict
150 shaderMacros:(NSDictionary *)macros
151 shaderBindingTarget:(
id<OOWeakReferenceSupport>)object;
153+ (instancetype) meshWithName:(NSString *)name
154 cacheKey:(NSString *)cacheKey
155 materialDictionary:(NSDictionary *)materialDict
156 shadersDictionary:(NSDictionary *)shadersDict
158 shaderMacros:(NSDictionary *)macros
159 shaderBindingTarget:(
id<OOWeakReferenceSupport>)object
160 scaleFactor:(
float)factor
161 cacheWriteable:(BOOL)cacheWriteable;
166- (NSString *) modelName;
168- (void) rebindMaterials;
170- (NSDictionary *) materials;
171- (NSDictionary *) shaders;
173- (size_t) vertexCount;
179- (BoundingBox) findBoundingBoxRelativeToPosition:(Vector)opv
180 basis:(Vector)ri :(Vector)rj :(Vector)rk
181 selfPosition:(Vector)position
182 selfBasis:(Vector)si :(Vector)sj :(Vector)sk;
183- (BoundingBox) findSubentityBoundingBoxWithPosition:(Vector)position rotMatrix:(OOMatrix)rotMatrix;
185- (
OOMesh *) meshRescaledBy:(GLfloat)scaleFactor;
191@interface OOCacheManager (Octree)
193+ (
Octree *)octreeForModel:(NSString *)inKey;
194+ (void)setOctree:(
Octree *)inOctree forModel:(NSString *)inKey;
uint8_t OOMeshFaceVertexCount
uint16_t OOMeshSmoothGroup
uint32_t OOMeshVertexCount
uint8_t OOMeshMaterialIndex
uint8_t OOMeshMaterialCount
NSMutableDictionary * _retainedObjects
NSDictionary * _shaderMacros
OOMaterial * materials[kOOMeshMaxMaterials]
NSString * materialKeys[kOOMeshMaxMaterials]
OOMeshMaterialCount materialCount
NSRange triangle_range[kOOMeshMaxMaterials]
BoundingBox _lastBoundingBox
NSDictionary * _materialDict
NSDictionary * _shadersDict
NSString * baseFileOctreeCacheRef
OOMeshVertexCount vertexCount
OOMeshDisplayLists _displayLists
OOMeshFaceCount faceCount
OOMeshSmoothGroup smoothGroup
OOMeshMaterialIndex materialIndex