Oolite 1.91.0.7644-241112-7f5034b
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
 
(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 33 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 33 of file OONullTexture.m.

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

◆ autorelease

- (id) autorelease
implementation

Reimplemented from OOTexture.

Provided by category OONullTexture(Singleton).

Definition at line 33 of file OONullTexture.m.

127{
128 return self;
129}

◆ copyWithZone:

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

Provided by category OONullTexture(Singleton).

Definition at line 33 of file OONullTexture.m.

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

◆ dimensions

- (NSSize) dimensions
implementation

Reimplemented from OOTexture.

Definition at line 33 of file OONullTexture.m.

57{
58 return NSZeroSize;
59}

◆ forceRebind

- (void) forceRebind
implementation

Reimplemented from OOTexture.

Definition at line 33 of file OONullTexture.m.

69{
70
71}

◆ isMipMapped

- (BOOL) isMipMapped
implementation

Reimplemented from OOTexture.

Definition at line 33 of file OONullTexture.m.

63{
64 return NO;
65}

◆ name

- (NSString *) name
implementation

Reimplemented from OOTexture.

Definition at line 33 of file OONullTexture.m.

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

◆ release

- (void) release
implementation

Reimplemented from OOTexture.

Provided by category OONullTexture(Singleton).

Definition at line 33 of file OONullTexture.m.

123{}

◆ retain

- (id) retain
implementation

Reimplemented from OOTexture.

Provided by category OONullTexture(Singleton).

Definition at line 33 of file OONullTexture.m.

111{
112 return self;
113}

◆ retainCount

- (NSUInteger) retainCount
implementation

Provided by category OONullTexture(Singleton).

Definition at line 33 of file OONullTexture.m.

117{
118 return UINT_MAX;
119}

◆ sharedNullTexture

+ (OONullTexture *) sharedNullTexture

Definition at line 33 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}

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