Oolite 1.91.0.7645-241119-222d325
Loading...
Searching...
No Matches
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]
 
- Instance Methods inherited from <OOAsyncWorkTask>

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 1 of file OOTextureGenerator.m.

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

References kOOTextureDefaultOptions.

◆ cacheKey

- (NSString *) cacheKey

Reimplemented from OOTextureLoader.

Reimplemented in OOCombinedEmissionMapGenerator.

Definition at line 1 of file OOTextureGenerator.m.

53{
54 return nil;
55}
return nil

◆ enqueue

- (BOOL) enqueue

Definition at line 1 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()

◆ lodBias

- (GLfloat) lodBias

Reimplemented in OOCombinedEmissionMapGenerator.

Definition at line 1 of file OOTextureGenerator.m.

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

◆ textureOptions

- (uint32_t) textureOptions

Reimplemented in OOCombinedEmissionMapGenerator, and OOPixMapTextureLoader.

Definition at line 1 of file OOTextureGenerator.m.

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

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