Oolite 1.91.0.7604-240417-a536cbe
Loading...
Searching...
No Matches
Classes | Macros | Enumerations | Variables
OOTextureLoader.m File Reference
import "OOPNGTextureLoader.h"
import "OOTextureLoader.h"
import "OOFunctionAttributes.h"
import "OOCollectionExtractors.h"
import "OOMaths.h"
import "Universe.h"
import "OOTextureScaling.h"
import "OOPixMapChannelOperations.h"
import "OOConvertCubeMapToLatLong.h"
#include <stdlib.h>
import "ResourceManager.h"
import "OOOpenGLExtensionManager.h"
import "OODebugStandards.h"
+ 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.