![]() |
Oolite 1.91.0.7668-250429-8542c40
|
#include <OOGraphicsResetManager.h>
Instance Methods | |
(void) | - registerClient: |
(void) | - unregisterClient: |
(void) | - resetGraphicsState |
(void) | - dealloc [implementation] |
(id) | - copyWithZone: [implementation] |
(id) | - retain [implementation] |
(NSUInteger) | - retainCount [implementation] |
(void) | - release [implementation] |
(id) | - autorelease [implementation] |
Class Methods | |
(OOGraphicsResetManager *) | + sharedManager |
(id) | + allocWithZone: [implementation] |
Private Attributes | |
NSMutableSet * | clients |
Definition at line 45 of file OOGraphicsResetManager.h.
|
implementation |
Provided by category OOGraphicsResetManager(Singleton).
Definition at line 111 of file OOGraphicsResetManager.m.
|
implementation |
Provided by category OOGraphicsResetManager(Singleton).
Definition at line 144 of file OOGraphicsResetManager.m.
|
implementation |
Provided by category OOGraphicsResetManager(Singleton).
Definition at line 122 of file OOGraphicsResetManager.m.
|
implementation |
Definition at line 38 of file OOGraphicsResetManager.m.
References dealloc, nil, and sSingleton.
Referenced by dealloc.
- (void) registerClient: | (id<OOGraphicsResetClient>) | client |
Definition at line 54 of file OOGraphicsResetManager.m.
Referenced by DustEntity::init, PlanetEntity(OOPrivate)::initAsAtmosphereForPlanet:dictionary:, PlanetEntity::initFromDictionary:withAtmosphere:andSeed:, OOSkyDrawable::initWithColor1:Color2:Color3:Color4:starCount:nebulaCount:nebulaHueFix:clusterFactor:alpha:scale:, OOPolygonSprite::initWithDataArray:outlineWidth:name:, OOMesh(Private)::initWithName:cacheKey:materialDictionary:shadersDictionary:smooth:shaderMacros:shaderBindingTarget:scaleFactor:cacheWriteable:, OOMesh(Private)::mutableCopyWithZone:, OOExhaustPlumeEntity::setUpTexture, OOFlashEffectEntity::setUpTexture, OOLaserShotEntity::setUpTexture, and OOLightParticleEntity::setUpTexture.
|
implementation |
Provided by category OOGraphicsResetManager(Singleton).
Definition at line 140 of file OOGraphicsResetManager.m.
- (void) resetGraphicsState |
Definition at line 70 of file OOGraphicsResetManager.m.
References clients, kOOLogException, nil, OOGL, OOLog, OOLogIndentIf, OOLogOutdentIf, OOTexture::rebindAllTextures, OOOpenGLExtensionManager::reset, resetGraphicsState, and OOOpenGLExtensionManager::sharedManager.
Referenced by OODebugController::graphicsResetAction:, OODebugController::resetAndClearAction:, resetGraphicsState, Universe::setDetailLevel:, and MyOpenGLView::update.
|
implementation |
Provided by category OOGraphicsResetManager(Singleton).
Definition at line 128 of file OOGraphicsResetManager.m.
|
implementation |
Provided by category OOGraphicsResetManager(Singleton).
Definition at line 134 of file OOGraphicsResetManager.m.
+ (OOGraphicsResetManager *) sharedManager |
Definition at line 47 of file OOGraphicsResetManager.m.
References nil, sharedManager, and sSingleton.
Referenced by DustEntity::dealloc, OOMesh::dealloc, OOPolygonSprite::dealloc, OOSkyDrawable::dealloc, PlanetEntity::dealloc, OODebugController::graphicsResetAction:, DustEntity::init, PlanetEntity(OOPrivate)::initAsAtmosphereForPlanet:dictionary:, PlanetEntity::initFromDictionary:withAtmosphere:andSeed:, OOSkyDrawable::initWithColor1:Color2:Color3:Color4:starCount:nebulaCount:nebulaHueFix:clusterFactor:alpha:scale:, OOPolygonSprite::initWithDataArray:outlineWidth:name:, OOMesh(Private)::initWithName:cacheKey:materialDictionary:shadersDictionary:smooth:shaderMacros:shaderBindingTarget:scaleFactor:cacheWriteable:, OOMesh(Private)::mutableCopyWithZone:, OODebugController::resetAndClearAction:, Universe::setDetailLevel:, OOExhaustPlumeEntity::setUpTexture, OOFlashEffectEntity::setUpTexture, OOLaserShotEntity::setUpTexture, OOLightParticleEntity::setUpTexture, sharedManager, and MyOpenGLView::update.
- (void) unregisterClient: | (id<OOGraphicsResetClient>) | client |
Definition at line 64 of file OOGraphicsResetManager.m.
Referenced by DustEntity::dealloc, OOMesh::dealloc, OOPolygonSprite::dealloc, OOSkyDrawable::dealloc, and PlanetEntity::dealloc.
|
private |
Definition at line 48 of file OOGraphicsResetManager.h.
Referenced by registerClient:, and resetGraphicsState.