Oolite 1.91.0.7645-241119-222d325
|
#include <OOTexture.h>
Instance Methods | |
(void) | - apply |
(void) | - ensureFinishedLoading |
(BOOL) | - isFinishedLoading |
(NSString *) | - cacheKey |
(NSSize) | - dimensions |
(NSSize) | - originalDimensions |
(BOOL) | - isMipMapped |
(OOPixMap) | - copyPixMapRepresentation |
(BOOL) | - isRectangleTexture |
(BOOL) | - isCubeMap |
(NSSize) | - texCoordsScale |
(GLint) | - glTextureName |
(void) | - setTrace: |
(size_t) | - dataSize |
(NSString *) | - name |
(id) | - init [implementation] |
(void) | - dealloc [implementation] |
(void) | - forceRebind [implementation] |
(void) | - addToCaches [implementation] |
(void) | - removeFromCaches [implementation] |
(id) | - retainInContext: [implementation] |
(void) | - releaseInContext: [implementation] |
(id) | - autoreleaseInContext: [implementation] |
(id) | - retain [implementation] |
(oneway void) | - release [implementation] |
(id) | - autorelease [implementation] |
Instance Methods inherited from OOWeakRefObject | |
(id) | - weakSelf |
(id) | - weakRetain [implementation] |
(void) | - weakRefDied: [implementation] |
Instance Methods inherited from <OOWeakReferenceSupport> | |
(id) | - OO_RETURNS_RETAINED |
Class Methods | |
(id) | + textureWithName:inFolder:options:anisotropy:lodBias: |
(id) | + textureWithName:inFolder: |
(id) | + textureWithConfiguration: |
(id) | + textureWithConfiguration:extraOptions: |
(id) | + nullTexture |
(id) | + textureWithGenerator: |
(id) | + textureWithGenerator:enqueue: |
(void) | + applyNone |
(void) | + clearCache |
(void) | + rebindAllTextures |
(NSArray *) | + cachedTexturesByAge |
(NSSet *) | + allTextures |
(OOTexture *) | + existingTextureForKey: [implementation] |
(void) | + checkExtensions [implementation] |
Protected Attributes | |
BOOL | _trace |
Protected Attributes inherited from OOWeakRefObject | |
OOWeakReference * | weakSelf |
Definition at line 116 of file OOTexture.h.
|
implementation |
Provided by category OOTexture(SubclassInterface).
Definition at line 924 of file OOTexture.m.
References OOGenerateTextureCacheKey(), and OOInterpretTextureSpecifier().
+ (NSSet *) allTextures |
Definition at line 924 of file OOTexture.m.
- (void) apply |
Reimplemented in OOConcreteTexture, and OONullTexture.
Provided by category OOTexture(SubclassResponsibilities).
Definition at line 924 of file OOTexture.m.
Referenced by HeadUpDisplay::OODrawPlanetInfo, and HeadUpDisplay::OOStartDrawingStrings.
+ (void) applyNone |
Definition at line 924 of file OOTexture.m.
Referenced by HeadUpDisplay::OODrawPlanetInfo, and HeadUpDisplay::OOStopDrawingStrings.
|
implementation |
Reimplemented in OONullTexture.
Definition at line 924 of file OOTexture.m.
|
implementation |
Provided by category OOTexture(OOPrivate).
Definition at line 924 of file OOTexture.m.
+ (NSArray *) cachedTexturesByAge |
Definition at line 924 of file OOTexture.m.
- (NSString *) cacheKey |
Reimplemented in OOConcreteTexture.
Provided by category OOTexture(SubclassOptional).
Definition at line 924 of file OOTexture.m.
|
implementation |
Provided by category OOTexture(OOPrivate).
Definition at line 924 of file OOTexture.m.
+ (void) clearCache |
Definition at line 924 of file OOTexture.m.
- (struct OOPixMap) copyPixMapRepresentation |
Reimplemented in OOConcreteTexture.
Provided by category OOTexture(SubclassOptional).
Definition at line 924 of file OOTexture.m.
- (size_t) dataSize |
Definition at line 924 of file OOTexture.m.
|
implementation |
Reimplemented from OOWeakRefObject.
Reimplemented in OOConcreteTexture.
Definition at line 924 of file OOTexture.m.
- (NSSize) dimensions |
Reimplemented in OOConcreteTexture, and OONullTexture.
Provided by category OOTexture(SubclassResponsibilities).
Definition at line 924 of file OOTexture.m.
- (void) ensureFinishedLoading |
Reimplemented in OOConcreteTexture.
Provided by category OOTexture(SubclassOptional).
Definition at line 924 of file OOTexture.m.
|
implementation |
Provided by category OOTexture(SubclassInterface).
Definition at line 924 of file OOTexture.m.
|
implementation |
Reimplemented in OOConcreteTexture, and OONullTexture.
Provided by category OOTexture(SubclassResponsibilities).
Definition at line 924 of file OOTexture.m.
- (GLint) glTextureName |
Reimplemented in OOConcreteTexture.
Definition at line 924 of file OOTexture.m.
|
implementation |
Definition at line 924 of file OOTexture.m.
- (BOOL) isCubeMap |
Reimplemented in OOConcreteTexture.
Provided by category OOTexture(SubclassOptional).
Definition at line 924 of file OOTexture.m.
- (BOOL) isFinishedLoading |
Reimplemented in OOConcreteTexture.
Provided by category OOTexture(SubclassOptional).
Definition at line 924 of file OOTexture.m.
- (BOOL) isMipMapped |
Reimplemented in OOConcreteTexture, and OONullTexture.
Definition at line 924 of file OOTexture.m.
- (BOOL) isRectangleTexture |
Reimplemented in OOConcreteTexture.
Provided by category OOTexture(SubclassOptional).
Definition at line 924 of file OOTexture.m.
- (NSString *) name |
Reimplemented in OOConcreteTexture, and OONullTexture.
Definition at line 924 of file OOTexture.m.
+ (id) nullTexture |
Definition at line 924 of file OOTexture.m.
- (NSSize) originalDimensions |
Reimplemented in OOConcreteTexture.
Definition at line 924 of file OOTexture.m.
Referenced by OOTextureSprite::blitBackgroundCentredToX:Y:Z:alpha:, and GuiDisplayGen(Internal)::drawAdvancedNavArrayAtX:y:z:alpha:usingRoute:optimizedBy:zoom:.
+ (void) rebindAllTextures |
Definition at line 924 of file OOTexture.m.
|
implementation |
Reimplemented in OONullTexture.
Definition at line 924 of file OOTexture.m.
|
implementation |
Provided by category OOTexture(OOPrivate).
Definition at line 924 of file OOTexture.m.
|
implementation |
Provided by category OOTexture(SubclassInterface).
Definition at line 924 of file OOTexture.m.
|
implementation |
Reimplemented in OONullTexture.
Definition at line 924 of file OOTexture.m.
Referenced by HeadUpDisplay::InitTextEngine(void).
|
implementation |
Provided by category OOTexture(OOPrivate).
Definition at line 924 of file OOTexture.m.
- (void) setTrace: | (BOOL) | trace |
Definition at line 924 of file OOTexture.m.
- (NSSize) texCoordsScale |
Reimplemented in OOConcreteTexture.
Provided by category OOTexture(SubclassOptional).
Definition at line 924 of file OOTexture.m.
+ (id) textureWithConfiguration: | (id) | configuration |
Definition at line 924 of file OOTexture.m.
Referenced by OOSingleTextureMaterial::allTextures.
+ (id) textureWithConfiguration: | (id) | configuration | |
extraOptions: | (OOTextureFlags) | extraOptions |
Definition at line 924 of file OOTexture.m.
+ (id) textureWithGenerator: | (OOTextureGenerator *) | generator |
Definition at line 924 of file OOTexture.m.
+ (id) textureWithGenerator: | (OOTextureGenerator *) | generator | |
enqueue: | (BOOL) | enqueue |
Definition at line 924 of file OOTexture.m.
+ (id) textureWithName: | (NSString *) | name | |
inFolder: | (NSString*) | directory |
Definition at line 924 of file OOTexture.m.
+ (id) textureWithName: | (NSString *) | name | |
inFolder: | (NSString *) | directory | |
options: | (OOTextureFlags) | options | |
anisotropy: | (GLfloat) | anisotropy | |
lodBias: | (GLfloat) | lodBias |
Definition at line 924 of file OOTexture.m.
Referenced by HeadUpDisplay::InitTextEngine(void), and GuiDisplayGen::TextureForGUITexture.
|
protected |
Definition at line 120 of file OOTexture.h.