Oolite 1.91.0.7677-250528-09ed63a
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
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
(void) - setTrace:
(size_t) - dataSize
(id) - init [implementation]
(void) - dealloc [implementation]
(void) - addToCaches [implementation]
(void) - removeFromCaches [implementation]
(id) - retainInContext: [implementation]
(void) - releaseInContext: [implementation]
(id) - autoreleaseInContext: [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
(NSArray *) + cachedTexturesByAge
(NSSet *) + allTextures
(OOTexture *) + existingTextureForKey: [implementation]
(void) + checkExtensions [implementation]

Additional Inherited Members

Protected Attributes inherited from OOTexture
BOOL _trace
Protected Attributes inherited from OOWeakRefObject
OOWeakReferenceweakSelf

Detailed Description

Definition at line 34 of file OONullTexture.h.

Method Documentation

◆ allocWithZone:

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

Provided by category OONullTexture(Singleton).

Definition at line 93 of file OONullTexture.m.

93 :(NSZone *)inZone
94{
95 if (sSingleton == nil)
96 {
97 sSingleton = [super allocWithZone:inZone];
98 return sSingleton;
99 }
100 return nil;
101}
static OODebugMonitor * sSingleton
return nil

◆ apply

- (void) apply
implementation

Reimplemented from OOTexture.

Definition at line 50 of file OONullTexture.m.

51{
53}
void applyNone()
Definition OOTexture.m:275

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

Reimplemented from OOTexture.

Provided by category OONullTexture(Singleton).

Definition at line 126 of file OONullTexture.m.

127{
128 return self;
129}

◆ copyWithZone:

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

Provided by category OONullTexture(Singleton).

Definition at line 104 of file OONullTexture.m.

104 :(NSZone *)inZone
105{
106 return self;
107}

◆ dimensions

- (NSSize) dimensions
implementation

Reimplemented from OOTexture.

Definition at line 56 of file OONullTexture.m.

57{
58 return NSZeroSize;
59}

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 68 of file OONullTexture.m.

69{
70
71}

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 62 of file OONullTexture.m.

63{
64 return NO;
65}

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

Reimplemented from OOTexture.

Definition at line 75 of file OONullTexture.m.

76{
77 return @"<null texture>";
78}

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

Reimplemented from OOTexture.

Provided by category OONullTexture(Singleton).

Definition at line 122 of file OONullTexture.m.

123{}

◆ retain

- (id) retain
implementation

Reimplemented from OOTexture.

Provided by category OONullTexture(Singleton).

Definition at line 110 of file OONullTexture.m.

111{
112 return self;
113}

◆ retainCount

- (NSUInteger) retainCount
implementation

Provided by category OONullTexture(Singleton).

Definition at line 116 of file OONullTexture.m.

117{
118 return UINT_MAX;
119}

◆ sharedNullTexture

+ (OONullTexture *) sharedNullTexture

Definition at line 38 of file OONullTexture.m.

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

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: