Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
OOPlanetTextureGenerator Class Reference

#include <OOPlanetTextureGenerator.h>

+ Inheritance diagram for OOPlanetTextureGenerator:
+ Collaboration diagram for OOPlanetTextureGenerator:

Instance Methods

(id) - initWithPlanetInfo:
 
- Instance Methods inherited from OOTextureGenerator
(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>

Class Methods

(OOTexture *) + planetTextureWithInfo:
 
(BOOL) + generatePlanetTexture:andAtmosphere:withInfo:
 
(BOOL) + generatePlanetTexture:secondaryTexture:withInfo:
 
(BOOL) + generatePlanetTexture:secondaryTexture:andAtmosphere:withInfo:
 
- Class Methods inherited from OOTextureLoader
(id) + loaderWithPath:options:
 
(id) + loaderWithTextureSpecifier:extraOptions:folder:
 
(void) + setUp [implementation]
 

Private Attributes

OOPlanetTextureGeneratorInfo _info
 
unsigned _planetScale
 
OOPlanetNormalMapGenerator * _nMapGenerator
 
OOPlanetAtmosphereGenerator * _atmoGenerator
 

Additional Inherited Members

- 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 78 of file OOPlanetTextureGenerator.h.

Method Documentation

◆ generatePlanetTexture:andAtmosphere:withInfo:

+ (BOOL) generatePlanetTexture: (OOTexture **) texture
andAtmosphere: (OOTexture **) atmosphere
withInfo: (NSDictionary *) planetInfo 

◆ generatePlanetTexture:secondaryTexture:andAtmosphere:withInfo:

+ (BOOL) generatePlanetTexture: (OOTexture **) texture
secondaryTexture: (OOTexture **) secondaryTexture
andAtmosphere: (OOTexture **) atmosphere
withInfo: (NSDictionary *) planetInfo 

◆ generatePlanetTexture:secondaryTexture:withInfo:

+ (BOOL) generatePlanetTexture: (OOTexture **) texture
secondaryTexture: (OOTexture **) secondaryTexture
withInfo: (NSDictionary *) planetInfo 

◆ initWithPlanetInfo:

- (id) initWithPlanetInfo: (NSDictionary *) planetInfo

◆ planetTextureWithInfo:

+ (OOTexture *) planetTextureWithInfo: (NSDictionary *) planetInfo

Member Data Documentation

◆ _atmoGenerator

- (OOPlanetAtmosphereGenerator*) _atmoGenerator
private

Definition at line 85 of file OOPlanetTextureGenerator.h.

◆ _info

- (OOPlanetTextureGeneratorInfo) _info
private

Definition at line 81 of file OOPlanetTextureGenerator.h.

◆ _nMapGenerator

- (OOPlanetNormalMapGenerator*) _nMapGenerator
private

Definition at line 84 of file OOPlanetTextureGenerator.h.

◆ _planetScale

- (unsigned) _planetScale
private

Definition at line 82 of file OOPlanetTextureGenerator.h.


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