|
Oolite 1.91.0.7712-251017-85ce217
|
import "OOMesh.h"import "Universe.h"import "OOMeshToOctreeConverter.h"import "ResourceManager.h"import "Entity.h"import "Octree.h"import "OOMaterialConvenienceCreators.h"import "OOBasicMaterial.h"import "OOCollectionExtractors.h"import "OOOpenGLExtensionManager.h"import "OOGraphicsResetManager.h"import "OODebugGLDrawing.h"import "OOShaderMaterial.h"import "OOMacroOpenGL.h"import "OOProfilingStopwatch.h"import "OODebugFlags.h"import "NSObjectOOExtensions.h"import "OOJavaScriptEngine.h"import "OODebugStandards.h"Go to the source code of this file.
Classes | |
| struct | VertexFaceRef |
| category | OOMesh(Private) |
| category | OOCacheManager(OOMesh) |
Macros | |
| #define | ADAPTIVE_OCTREE_DEPTH 1 |
| #define | SCRIBBLE 0 |
| #define | PROFILE(tag) |
| #define | Scribble(bytes, size) |
Typedefs | |
| typedef struct VertexFaceRef | VertexFaceRef |
Enumerations | |
| enum | { kBaseOctreeDepth = 5 , kSmallOctreeDepth = 4 , kOctreeSizeThreshold = 900 , kOctreeSmallSizeThreshold = 20 } |
| enum | OOMeshNormalMode { kNormalModePerFace , kNormalModeSmooth , kNormalModeExplicit } |
| enum | { kVertexFaceDefInternalCount = 5 } |
Functions | |
| static void | VFRAddFace (VertexFaceRef *vfr, NSUInteger index) |
| static NSUInteger | VFRGetCount (VertexFaceRef *vfr) |
| static NSUInteger | VFRGetFaceAtIndex (VertexFaceRef *vfr, NSUInteger index) |
| static BOOL | IsLegacyNormalMode (OOMeshNormalMode mode) |
| static BOOL | IsPerVertexNormalMode (OOMeshNormalMode mode) |
Variables | |
| static NSString *const | kOOLogMeshDataNotFound = @"mesh.load.failed.fileNotFound" |
| static NSString *const | kOOLogMeshTooManyMaterials = @"mesh.load.failed.tooManyMaterials" |
| static NSString *const | kOOCacheMeshes = @"@"OOMesh" |
| static NSString *const | kOOCacheOctrees = @"@"octrees" |
| #define PROFILE | ( | tag | ) |
Definition at line 97 of file OOMesh.m.
Referenced by OOMesh(Private)::initWithName:cacheKey:materialDictionary:shadersDictionary:smooth:shaderMacros:shaderBindingTarget:scaleFactor:cacheWriteable:, and OOMesh(Private)::loadData:scaleFactor:.
| #define Scribble | ( | bytes, | |
| size ) |
Definition at line 2134 of file OOMesh.m.
Referenced by OOMesh(Private)::allocateBytesWithSize:count:key:.
| typedef struct VertexFaceRef VertexFaceRef |
| anonymous enum |
| anonymous enum |
| Enumerator | |
|---|---|
| kBaseOctreeDepth | |
| kSmallOctreeDepth | |
| kOctreeSizeThreshold | |
| kOctreeSmallSizeThreshold | |
| enum OOMeshNormalMode |
| Enumerator | |
|---|---|
| kNormalModePerFace | |
| kNormalModeSmooth | |
| kNormalModeExplicit | |
Definition at line 76 of file OOMesh.m.
|
static |
Definition at line 188 of file OOMesh.m.
References kNormalModeExplicit, kNormalModePerFace, and kNormalModeSmooth.
Referenced by OOMesh(Private)::loadData:scaleFactor:.
|
static |
Definition at line 210 of file OOMesh.m.
References kNormalModeExplicit, kNormalModePerFace, and kNormalModeSmooth.
Referenced by OOMesh(Private)::loadData:scaleFactor:, OOMesh(Private)::modelData, OOMesh(Private)::setModelFromModelData:name:, and OOMesh(Private)::setUpVertexArrays.
|
static |
|
static |
Referenced by OOMesh(Private)::calculateVertexNormalsAndTangentsWithFaceRefs:, OOMesh(Private)::calculateVertexTangentsWithFaceRefs:, and OOCacheManager(Octree)::VFRGetFaceAtIndex.
|
static |
Referenced by OOMesh(Private)::calculateVertexNormalsAndTangentsWithFaceRefs:, and OOMesh(Private)::calculateVertexTangentsWithFaceRefs:.
|
static |
Definition at line 84 of file OOMesh.m.
Referenced by OOMesh(Private)::loadData:scaleFactor:.
|
static |
Definition at line 85 of file OOMesh.m.
Referenced by OOMesh(Private)::loadData:scaleFactor:.