namespace
SPPropertyIDsThis namespace only contains property IDs to be used in the AppProperties module.
These properties define basic configurations that should be fast and accessible in all the app. They were taken from the AppProperties.txt file.
Enums
- enum Properties { kShowFPS = 1, kRenderUI = 2, kRenderEffects = 3, kRenderTerrain = 4, kRenderModels = 5, krenderDebugDraw = 6, kShowProfiler = 9, kShowProfilerGraph = 10, kCullingLevel = 11, kShowCulling = 12, kShowBBoxes = 13, kShowPicking = 14, kShowHulls = 15, kShowGrid = 16, kTextureStats = 17, kModelStats = 18, kRenderStats = 19, kEffectStats = 20, kShowPropEditor = 21, kDisableSkinning = 22, kProfilerReportLength = 23, kProfilerLogFactor = 24, kProfilerLogTime = 25, kMemoryProfilerMore = 26, kMemoryProfilerSort = 27, kMemoryProfilerLogSize = 28, kMemoryProfilerLogFactor = 29, kMemoryProfilerWatchLines = 30, kMemoryProfilesSmoothing = 31, kMemoryProfilesBySystem = 32, kTerrainLODThreshold = 33, kTerrainLODMorphDistance = 34, kTerrainLODAspect = 35, kDisableLogging = 36, kSubstituteMissingResources = 37, kFlushGPU = 38, kModelLODDistanceScale = 39, kAppModeControlsCamera = 40, kMRT = 41, kDumpMemoryLeaks = 42, kSoftwareCursor = 43, kFrameLimitMS = 44, kMemoryLimit = 45, kUIScissor = 46, kEditorShowAnimSelecter = 47, kEditorShowRolloverInfo = 48, kEditorAutoZoomCameraEnabled = 49, kEditorDebugDrawRigblockAxis = 50, kEditorDebugDrawModel = 51, kEditorDebugDrawRigblockNames = 52, kEditorDebugDrawHierarchy = 53, kEditorDebugDrawBoneCount = 54, kEditorAnimateWhileEditing = 55, kAlphaThreshold = 56, kEditorAutoCollapsePalette = 57, kDumpBaketimeTextures = 58, kEditorDebugDrawPhysicsHulls = 59, kDisableBoneUploads = 60, kSporeLiteIsOnlineHost = 61, kSporeLiteIsOnlineEnable = 62, kPlayModeOn = 63, kEditorNewPalettes = 64, kEditorNewDataFiles = 65, kPaletteFeedMaxItems = 66, kEditorDisplayAnimInfo = 67, kRenderTargetCorrection = 68, kEditorEnablePanning = 69, kIsCSAApp = 70, kShowTextLocations = 71, kShowObstacleRadii = 72, kEditorDebugDrawRigblockForZCorp = 74, kThrottleTime = 75, kExcludeSecondaryTextures = 76, kGarbageDeletionScale = 77, kGarbageDeletionDiv = 78, kGarbageDeletionMin = 79, kGarbageDeletionMax = 80, kWireframe = 81 }
Variables
Enum documentation
enum App:: SPPropertyIDs:: Properties
Enumerators | |
---|---|
kShowFPS |
|
kRenderUI |
|
kRenderEffects |
|
kRenderTerrain |
|
kRenderModels |
|
krenderDebugDraw |
|
kShowProfiler |
|
kShowProfilerGraph |
0=hide, 1=self 2=hier |
kCullingLevel |
|
kShowCulling |
0=none, 1=flat 2=hier, 3=occluders |
kShowBBoxes |
|
kShowPicking |
|
kShowHulls |
|
kShowGrid |
|
kTextureStats |
|
kModelStats |
|
kRenderStats |
|
kEffectStats |
|
kShowPropEditor |
|
kDisableSkinning |
|
kProfilerReportLength |
|
kProfilerLogFactor |
0 - short, 1 - medium, 2 - long |
kProfilerLogTime |
if non-zero, a frame that takes this times more time than average will generate a profile dump. E.g., 2 |
kMemoryProfilerMore |
if non-zero, a frame that takes longer than this (in seconds) will generate a profile dump. E.g., 0.1 |
kMemoryProfilerSort |
|
kMemoryProfilerLogSize |
|
kMemoryProfilerLogFactor |
if non-zero, absolute size (KB) of allocations size spike to log a frame. E.g., 2000 |
kMemoryProfilerWatchLines |
if non-zero, spike factor over average allocation size to log a frame |
kMemoryProfilesSmoothing |
number of watch window lines to use >=1 and <= 20 |
kMemoryProfilesBySystem |
(from [0, 1] - 1 is the smoothest) |
kTerrainLODThreshold |
whether to show a detailed memory-usage breakdown by system |
kTerrainLODMorphDistance |
LOD threshold. |
kTerrainLODAspect |
How rapidly we morph between LODs after a change. |
kDisableLogging |
how much to weigh horizontal distance over vertical |
kSubstituteMissingResources |
disables all logging when set (including asserts) |
kFlushGPU |
whether to substitute a dummy resource for missing models, textures, etc. |
kModelLODDistanceScale |
Force synchronization with the GPU after drawing, for better profiling of render costs. |
kAppModeControlsCamera |
scale on model manager LOD values |
kMRT |
|
kDumpMemoryLeaks |
Does your graphics card support Multiple Render Targers (GeForce FX 5900 Ultra does not) |
kSoftwareCursor |
Dump memory leaks on shutdown (overridden to false by default for non-Debug builds) |
kFrameLimitMS |
On some builds, enable software cursor. |
kMemoryLimit |
if non-zero, the main game loop will always take at least this long, i.e., frame rate will be constant apart from long frames |
kUIScissor |
if non-zero, we will report out-of-memory and do a memory dump when we hit this many MB |
kEditorShowAnimSelecter |
if true, use scissor rectangle instead of pixel-shader clipping |
kEditorShowRolloverInfo |
|
kEditorAutoZoomCameraEnabled |
|
kEditorDebugDrawRigblockAxis |
|
kEditorDebugDrawModel |
|
kEditorDebugDrawRigblockNames |
|
kEditorDebugDrawHierarchy |
|
kEditorDebugDrawBoneCount |
|
kEditorAnimateWhileEditing |
|
kAlphaThreshold |
|
kEditorAutoCollapsePalette |
the alpha threshold below which to simply not render a model/quad/whatever |
kDumpBaketimeTextures |
False == Manual Collapse mode, True == Auto Collapse. |
kEditorDebugDrawPhysicsHulls |
If true, it will save ambient occlusion, splatter and composite textures to Data dir. |
kDisableBoneUploads |
|
kSporeLiteIsOnlineHost |
whether to disable uploading bone constants |
kSporeLiteIsOnlineEnable |
|
kPlayModeOn |
|
kEditorNewPalettes |
|
kEditorNewDataFiles |
|
kPaletteFeedMaxItems |
|
kEditorDisplayAnimInfo |
|
kRenderTargetCorrection |
|
kEditorEnablePanning |
whether to apply a half-destination-texel correction to the projection matrix for DX |
kIsCSAApp |
|
kShowTextLocations |
|
kShowObstacleRadii |
|
kEditorDebugDrawRigblockForZCorp |
|
kThrottleTime |
|
kExcludeSecondaryTextures |
ms to throttle game by when it is in the background |
kGarbageDeletionScale |
whether to avoid loading secondary textures such as normal maps and spec maps |
kGarbageDeletionDiv |
|
kGarbageDeletionMin |
|
kGarbageDeletionMax |
min to delete per frame |
kWireframe |
maximum we will hold on to, after this we will flush them all |