Oolite 1.91.0.7668-250429-8542c40
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
OOTextureGenerator Class Reference

#include <OOTextureGenerator.h>

+ Inheritance diagram for OOTextureGenerator:
+ Collaboration diagram for OOTextureGenerator:

Instance Methods

(uint32_t) - textureOptions
 
(GLfloat) - anisotropy
 
(GLfloat) - lodBias
 
(NSString *) - cacheKey
 
(BOOL) - enqueue
 
- Instance Methods inherited from OOTextureLoader
(BOOL) - isReady
 
(BOOL) - getResult:format:originalWidth:originalHeight:
 
(id) - initWithPath:options:
 
(NSString *) - path
 
(void) - loadTexture
 
(void) - dealloc [implementation]
 
(NSString *) - descriptionComponents [implementation]
 
(NSString *) - shortDescriptionComponents [implementation]
 
(void) - performAsyncTask [implementation]
 
(void) - generateMipMapsForCubeMap [implementation]
 
(void) - applySettings [implementation]
 
(void) - getDesiredWidth:andHeight: [implementation]
 
(void) - completeAsyncTask [implementation]
 

Additional Inherited Members

- Class Methods inherited from OOTextureLoader
(id) + loaderWithPath:options:
 
(id) + loaderWithTextureSpecifier:extraOptions:folder:
 
(void) + setUp [implementation]
 
- Protected Attributes inherited from OOTextureLoader
NSString * _path
 
OOTextureFlags _options
 
uint8_t _generateMipMaps: 1
 
uint8_t _scaleAsNormalMap: 1
 
uint8_t _avoidShrinking: 1
 
uint8_t _noScalingWhatsoever: 1
 
uint8_t _extractChannel: 1
 
uint8_t _allowCubeMap: 1
 
uint8_t _isCubeMap: 1
 
uint8_t _ready: 1
 
uint8_t _extractChannelIndex
 
OOTextureDataFormat _format
 
void * _data
 
uint32_t _width
 
uint32_t _height
 
uint32_t _originalWidth
 
uint32_t _originalHeight
 
uint32_t _shrinkThreshold
 
uint32_t _maxSize
 
size_t _rowBytes
 

Detailed Description

Definition at line 45 of file OOTextureGenerator.h.

Method Documentation

◆ anisotropy

- (GLfloat) anisotropy

Reimplemented in OOCombinedEmissionMapGenerator.

Definition at line 40 of file OOTextureGenerator.m.

41{
43}
#define kOOTextureDefaultAnisotropy
Definition OOTexture.h:101

References anisotropy, and kOOTextureDefaultAnisotropy.

Referenced by anisotropy, and OOTexture::textureWithGenerator:enqueue:.

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

◆ cacheKey

- (NSString *) cacheKey

Reimplemented from OOTextureLoader.

Reimplemented in OOCombinedEmissionMapGenerator.

Definition at line 52 of file OOTextureGenerator.m.

53{
54 return nil;
55}
return nil

References cacheKey, and nil.

Referenced by cacheKey, and OOTexture::textureWithGenerator:enqueue:.

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

◆ enqueue

- (BOOL) enqueue

Definition at line 58 of file OOTextureGenerator.m.

59{
60 return [[OOAsyncWorkManager sharedAsyncWorkManager] addTask:self priority:kOOAsyncPriorityMedium];
61}
BOOL addTask:priority:(id< OOAsyncWorkTask > task,[priority] OOAsyncWorkPriority priority)
OOAsyncWorkManager * sharedAsyncWorkManager()

References OOAsyncWorkManager::addTask:priority:, enqueue, and OOAsyncWorkManager::sharedAsyncWorkManager.

Referenced by enqueue.

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

◆ lodBias

- (GLfloat) lodBias

Reimplemented in OOCombinedEmissionMapGenerator.

Definition at line 46 of file OOTextureGenerator.m.

47{
49}
#define kOOTextureDefaultLODBias
Definition OOTexture.h:102

References kOOTextureDefaultLODBias, and lodBias.

Referenced by lodBias, and OOTexture::textureWithGenerator:enqueue:.

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

◆ textureOptions

- (uint32_t) textureOptions

Reimplemented in OOCombinedEmissionMapGenerator, and OOPixMapTextureLoader.

Definition at line 34 of file OOTextureGenerator.m.

35{
37}
@ kOOTextureDefaultOptions
Definition OOTexture.h:76

References kOOTextureDefaultOptions, and textureOptions.

Referenced by textureOptions, and OOTexture::textureWithGenerator:enqueue:.

+ 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: