Oolite
Loading...
Searching...
No Matches
OONullTexture Class Reference

#include <OONullTexture.h>

Inheritance diagram for OONullTexture:
Collaboration diagram for OONullTexture:

Instance Methods

(void) - apply [implementation]
(NSSize) - dimensions [implementation]
(BOOL) - isMipMapped [implementation]
(void) - forceRebind [implementation]
(NSString *) - name [implementation]
(id) - copyWithZone: [implementation]
(id) - retain [implementation]
(NSUInteger) - retainCount [implementation]
(void) - release [implementation]
(id) - autorelease [implementation]
Instance Methods inherited from OOTexture
(void) - ensureFinishedLoading
(BOOL) - isFinishedLoading
(NSString *) - cacheKey
(NSSize) - originalDimensions
(OOPixMap) - copyPixMapRepresentation
(BOOL) - isRectangleTexture
(BOOL) - isCubeMap
(NSSize) - texCoordsScale
(GLint) - glTextureName
(id) - init [implementation]
(void) - dealloc [implementation]
(void) - addToCaches [implementation]
(void) - removeFromCaches [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

(OONullTexture *) + sharedNullTexture
(id) + allocWithZone: [implementation]
Class Methods inherited from OOTexture
(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
(OOTexture *) + existingTextureForKey: [implementation]
(void) + checkExtensions [implementation]

Additional Inherited Members

Protected Attributes inherited from OOWeakRefObject
OOWeakReference * weakSelf

Detailed Description

Definition at line 33 of file OONullTexture.h.

Method Documentation

◆ allocWithZone:

+ (id) allocWithZone: (NSZone*) inZone
implementation

Provided by category OONullTexture(Singleton).

Definition at line 83 of file OONullTexture.m.

83 :(NSZone*)inZone
84{
85 if (sSingleton == nil) {
86 sSingleton = [super allocWithZone:inZone];
87 return sSingleton;
88 }
89 return nil;
90}
static OONullTexture * sSingleton
return nil

◆ apply

- (void) apply
implementation

Reimplemented from OOTexture.

Definition at line 46 of file OONullTexture.m.

47{
49}
void applyNone()
Definition OOTexture.m:263

References apply, and OOTexture::applyNone.

Referenced by apply.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ autorelease

- (id) autorelease
implementation

Provided by category OONullTexture(Singleton).

Definition at line 111 of file OONullTexture.m.

112{
113 return self;
114}

◆ copyWithZone:

- (id) copyWithZone: (NSZone*) inZone
implementation

Provided by category OONullTexture(Singleton).

Definition at line 92 of file OONullTexture.m.

92 :(NSZone*)inZone
93{
94 return self;
95}

◆ dimensions

- (NSSize) dimensions
implementation

Reimplemented from OOTexture.

Definition at line 51 of file OONullTexture.m.

52{
53 return NSZeroSize;
54}

References dimensions.

Referenced by dimensions.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ forceRebind

- (void) forceRebind
implementation

Reimplemented from OOTexture.

Definition at line 61 of file OONullTexture.m.

62{
63}

References forceRebind.

Referenced by forceRebind.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isMipMapped

- (BOOL) isMipMapped
implementation

Reimplemented from OOTexture.

Definition at line 56 of file OONullTexture.m.

57{
58 return NO;
59}

References isMipMapped.

Referenced by isMipMapped.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ name

- (NSString *) name
implementation

Definition at line 66 of file OONullTexture.m.

67{
68 return @"<null texture>";
69}

References name.

Referenced by name.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ release

- (void) release
implementation

Provided by category OONullTexture(Singleton).

Definition at line 107 of file OONullTexture.m.

108{
109}

Referenced by OOShipRegistry::reload.

Here is the caller graph for this function:

◆ retain

- (id) retain
implementation

Provided by category OONullTexture(Singleton).

Definition at line 97 of file OONullTexture.m.

98{
99 return self;
100}

◆ retainCount

- (NSUInteger) retainCount
implementation

Provided by category OONullTexture(Singleton).

Definition at line 102 of file OONullTexture.m.

103{
104 return UINT_MAX;
105}

◆ sharedNullTexture

+ (OONullTexture *) sharedNullTexture

Definition at line 36 of file OONullTexture.m.

37{
38 // NOTE: assumes single-threaded access.
39 if (sSingleton == nil) {
40 sSingleton = [[self alloc] init];
41 }
42
43 return sSingleton;
44}

References nil, sharedNullTexture, and sSingleton.

Referenced by OOTexture::nullTexture, and sharedNullTexture.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: