![]() |
Oolite 1.91.0.7665-250419-c535bfe
|
#include <OOProbabilisticTextureManager.h>
Instance Methods | |
(id) | - initWithPListName:options:anisotropy:lodBias: |
(id) | - initWithPListName:options:anisotropy:lodBias:seed: |
(OOTexture *) | - selectTexture |
(unsigned) | - textureCount |
(void) | - ensureTexturesLoaded |
(RANROTSeed) | - seed |
(void) | - setSeed: |
(void) | - dealloc [implementation] |
(NSString *) | - description [implementation] |
Private Attributes | |
unsigned | _count |
OOTexture ** | _textures |
float * | _prob |
int * | _galaxy |
float | _probMax |
float * | _probMaxGal |
RANROTSeed | _seed |
Definition at line 37 of file OOProbabilisticTextureManager.h.
|
implementation |
Definition at line 160 of file OOProbabilisticTextureManager.m.
References _count, _galaxy, _prob, _probMaxGal, _textures, dealloc, and OOTexture::release.
Referenced by dealloc.
|
implementation |
Definition at line 181 of file OOProbabilisticTextureManager.m.
References description.
Referenced by description.
- (void) ensureTexturesLoaded |
Definition at line 227 of file OOProbabilisticTextureManager.m.
References _count, OOTexture::ensureFinishedLoading, and ensureTexturesLoaded.
Referenced by ensureTexturesLoaded, and OOSkyDrawable(OOPrivate)::ensureTexturesLoaded.
- (id) initWithPListName: | (NSString *) | plistName | |
options: | (uint32_t) | options | |
anisotropy: | (GLfloat) | anisotropy | |
lodBias: | (GLfloat) | lodBias |
Definition at line 37 of file OOProbabilisticTextureManager.m.
References initWithPListName:options:anisotropy:lodBias:seed:.
- (id) initWithPListName: | (NSString *) | plistName | |
options: | (uint32_t) | options | |
anisotropy: | (GLfloat) | anisotropy | |
lodBias: | (GLfloat) | lodBias | |
seed: | (RANROTSeed) | seed |
Definition at line 50 of file OOProbabilisticTextureManager.m.
References _count, _galaxy, _prob, _probMax, _probMaxGal, _seed, _textures, ResourceManager::arrayFromFilesNamed:inFolder:andMerge:, count, kOOMaximumGalaxyID, nil, OOLog, OOTexture::retain, seed, and OOTexture::textureWithName:inFolder:options:anisotropy:lodBias:.
Referenced by initWithPListName:options:anisotropy:lodBias:.
- (RANROTSeed) seed |
Definition at line 238 of file OOProbabilisticTextureManager.m.
Referenced by initWithPListName:options:anisotropy:lodBias:seed:, seed, and setSeed:.
- (OOTexture *) selectTexture |
Definition at line 187 of file OOProbabilisticTextureManager.m.
References _count, _galaxy, _prob, _probMaxGal, _seed, _textures, int(), OOLog, PLAYER, randfWithSeed(), and selectTexture.
Referenced by selectTexture, OOSkyDrawable(OOPrivate)::setUpNebulaeWithColor1:color2:clusterFactor:nebulaHueFix:alpha:scale:, and OOSkyDrawable(OOPrivate)::setUpStarsWithColor1:color2:.
- (void) setSeed: | (RANROTSeed) | seed |
Definition at line 244 of file OOProbabilisticTextureManager.m.
Referenced by OOSkyDrawable(OOPrivate)::loadNebulaTextures, and OOSkyDrawable(OOPrivate)::loadStarTextures.
- (unsigned) textureCount |
Definition at line 221 of file OOProbabilisticTextureManager.m.
References _count, and textureCount.
Referenced by textureCount.
|
private |
Definition at line 40 of file OOProbabilisticTextureManager.h.
Referenced by dealloc, ensureTexturesLoaded, initWithPListName:options:anisotropy:lodBias:seed:, selectTexture, and textureCount.
|
private |
Definition at line 43 of file OOProbabilisticTextureManager.h.
Referenced by dealloc, initWithPListName:options:anisotropy:lodBias:seed:, and selectTexture.
|
private |
Definition at line 42 of file OOProbabilisticTextureManager.h.
Referenced by dealloc, initWithPListName:options:anisotropy:lodBias:seed:, and selectTexture.
|
private |
Definition at line 44 of file OOProbabilisticTextureManager.h.
Referenced by initWithPListName:options:anisotropy:lodBias:seed:.
|
private |
Definition at line 45 of file OOProbabilisticTextureManager.h.
Referenced by dealloc, initWithPListName:options:anisotropy:lodBias:seed:, and selectTexture.
|
private |
Definition at line 46 of file OOProbabilisticTextureManager.h.
Referenced by initWithPListName:options:anisotropy:lodBias:seed:, seed, selectTexture, and setSeed:.
|
private |
Definition at line 41 of file OOProbabilisticTextureManager.h.
Referenced by dealloc, initWithPListName:options:anisotropy:lodBias:seed:, and selectTexture.