Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
OOTextureLoader.m File Reference
+ Include dependency graph for OOTextureLoader.m:

Go to the source code of this file.

Classes

category  OOTextureLoader(OOPrivate)
 

Macros

#define DUMP_CONVERTED_CUBE_MAPS   0
 

Enumerations

enum  {
  kNeverShrinkThreshold = UINT32_MAX , kDefaultShrinkThreshold = 512 , kExtraShrinkThreshold = 128 , kExtraShrinkMaxSize = 256 ,
  kCubeShrinkThreshold = 256
}
 

Variables

static unsigned sGLMaxSize
 
static uint32_t sUserMaxSize
 
static BOOL sReducedDetail
 
static BOOL sHaveNPOTTextures = NO
 
static BOOL sHaveSetUp = NO
 

Macro Definition Documentation

◆ DUMP_CONVERTED_CUBE_MAPS

#define DUMP_CONVERTED_CUBE_MAPS   0

Definition at line 43 of file OOTextureLoader.m.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kNeverShrinkThreshold 
kDefaultShrinkThreshold 
kExtraShrinkThreshold 
kExtraShrinkMaxSize 
kCubeShrinkThreshold 

Definition at line 45 of file OOTextureLoader.m.

46{
47 // Thresholds for reduced-detail texture shrinking in different circumstances.
48 kNeverShrinkThreshold = UINT32_MAX,
53};
@ kCubeShrinkThreshold
@ kNeverShrinkThreshold
@ kExtraShrinkMaxSize
@ kExtraShrinkThreshold
@ kDefaultShrinkThreshold

Variable Documentation

◆ sGLMaxSize

unsigned sGLMaxSize
static

Definition at line 56 of file OOTextureLoader.m.

◆ sHaveNPOTTextures

BOOL sHaveNPOTTextures = NO
static

Definition at line 59 of file OOTextureLoader.m.

◆ sHaveSetUp

BOOL sHaveSetUp = NO
static

Definition at line 60 of file OOTextureLoader.m.

◆ sReducedDetail

BOOL sReducedDetail
static

Definition at line 58 of file OOTextureLoader.m.

◆ sUserMaxSize

uint32_t sUserMaxSize
static

Definition at line 57 of file OOTextureLoader.m.