BVB Source Codes

CRYENGINE Show cvars.h Source code

Return Download CRYENGINE: download cvars.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. // -------------------------------------------------------------------------
  4. //  File name:   cvars.h
  5. //  Version:     v1.00
  6. //  Created:     28/5/2001 by Vladimir Kajalin
  7. //  Compilers:   Visual Studio.NET
  8. //  Description:
  9. // -------------------------------------------------------------------------
  10. //  History:
  11. //
  12. ////////////////////////////////////////////////////////////////////////////
  13.  
  14. #ifndef _3DENGINE_CVARS_H_
  15. #define _3DENGINE_CVARS_H_
  16.  
  17. #if defined(CONSOLE_CONST_CVAR_MODE)
  18.         #define GetFloatCVar(name) name ## Default
  19. #else
  20.         #define GetFloatCVar(name) (Cry3DEngineBase::GetCVars())->name
  21. #endif
  22.  
  23. // console variables
  24. struct CVars : public Cry3DEngineBase
  25. {
  26.         CVars()
  27.         { Init(); }
  28.  
  29.         void Init();
  30.  
  31. #if defined(FEATURE_SVO_GI)
  32.         void RegisterTICVars();
  33. #endif
  34.  
  35.         void GetMemoryUsage(ICrySizer* pSizer) const
  36.         {
  37.                 pSizer->AddObject(this, sizeof(*this));
  38.         }
  39.         //default values used for const cvars
  40. #ifdef _RELEASE
  41.         enum { e_StatObjValidateDefault = 0 };  // Validate meshes in all but release builds.
  42. #else
  43.         enum { e_StatObjValidateDefault = 1 };  // Validate meshes in all but release builds.
  44. #endif
  45. #ifdef CONSOLE_CONST_CVAR_MODE
  46.         enum { e_DisplayMemoryUsageIconDefault = 0 };
  47. #else
  48.         enum { e_DisplayMemoryUsageIconDefault = 1 };
  49. #endif
  50. #define e_PhysOceanCellDefault (0.f)
  51. #if CRY_PLATFORM_DURANGO
  52.         enum { e_ParticlesSimpleWaterCollisionDefault = 1 };
  53.         enum { e_DeformableObjectsDefault = 0 }; // temporarily disabled until RC issue found
  54.         enum { e_OcclusionVolumesDefault = 1 };
  55.         enum { e_WaterOceanFastpathDefault = 0 };
  56.         enum { e_WaterVolumesDefault = 1 };
  57.         enum { e_WaterOceanDefault = 1 };
  58.         enum { e_LightVolumesDefault = 1 };
  59.         enum { e_ShadowsBlendDefault = 1 };
  60. #else
  61.         enum { e_DeformableObjectsDefault = 1 };
  62.         enum { e_OcclusionVolumesDefault = 1 };
  63.         enum { e_WaterOceanDefault = 1 };
  64.         enum { e_WaterVolumesDefault = 1 };
  65.         enum { e_LightVolumesDefault = 1 };
  66. #endif
  67.  
  68. #define e_DecalsDeferredDynamicMinSizeDefault              (0.35f)
  69. #define e_DecalsPlacementTestAreaSizeDefault               (0.08f)
  70. #define e_DecalsPlacementTestMinDepthDefault               (0.05f)
  71. #define e_StreamPredictionDistanceFarDefault               (16.f)
  72. #define e_StreamPredictionDistanceNearDefault              (0.f)
  73. #define e_StreamCgfVisObjPriorityDefault                   (0.5f)
  74. #define e_WindBendingDistRatioDefault                      (0.5f)
  75. #define e_MaxViewDistFullDistCamHeightDefault              (1000.f)
  76. #define e_CoverageBufferOccludersLodRatioDefault           (0.25f)
  77. #define e_LodCompMaxSizeDefault                            (6.f)
  78. #define e_MaxViewDistanceDefault                           (-1.f)
  79. #define e_ViewDistCompMaxSizeDefault                       (64.f)
  80. #define e_ViewDistRatioPortalsDefault                      (60.f)
  81. #define e_ParticlesLightsViewDistRatioDefault              (256.f)
  82. #define e_TerrainOcclusionCullingPrecisionDefault          (0.25f)
  83. #define e_TerrainOcclusionCullingPrecisionDistRatioDefault (3.f)
  84. #define e_TerrainOcclusionCullingStepSizeDeltaDefault      (1.05f)
  85. #define e_TerrainLodRatioHolesMinDefault                   (2.f)
  86. #define e_WindDefault                                      (0.1f)
  87. #define e_ShadowsCastViewDistRatioLightsDefault            (1.f)
  88. #define e_DecalsRangeDefault                               (20.f)
  89. #define e_GsmRangeStepExtendedDefault                      (8.f)
  90. #define e_TerrainDetailMaterialsViewDistXYDefault          (2048.f)
  91. #define e_SunAngleSnapSecDefault                           (0.1f)
  92. #define e_SunAngleSnapDotDefault                           (0.999999f)
  93. #define e_OcclusionVolumesViewDistRatioDefault             (0.05f)
  94. #define e_FoliageStiffnessDefault                          (3.2f)
  95. #define e_FoliageBranchesStiffnessDefault                  (100.f)
  96. #define e_FoliageBranchesDampingDefault                    (10.f)
  97. #define e_FoliageBrokenBranchesDampingDefault              (15.f)
  98. #define e_TerrainTextureLodRatioDefault                    (1.f)
  99. #define e_JointStrengthScaleDefault                        (1.f)
  100. #define e_VolObjShadowStrengthDefault                      (.4f)
  101. #define e_CameraRotationSpeedDefault                       (0.f)
  102. #define e_DecalsDeferredDynamicDepthScaleDefault           (4.0f)
  103. #define e_TerrainDetailMaterialsViewDistZDefault           (128.f)
  104. #define e_ParticlesLightMinRadiusThresholdDefault          (0.f)
  105. #define e_ParticlesLightMinColorThresholdDefault           (0.f)
  106. #define e_StreamCgfFastUpdateMaxDistanceDefault            (16.f)
  107. #define e_StreamPredictionMinFarZoneDistanceDefault        (16.f)
  108. #define e_StreamPredictionMinReportDistanceDefault         (0.75f)
  109. #define e_StreamCgfGridUpdateDistanceDefault               (0.f)
  110. #define e_StreamPredictionAheadDefault                     (0.5f)
  111. #define e_StreamPredictionAheadDebugDefault                (0.f)
  112. #define e_RenderMeshCollisionToleranceDefault              (0.3f)
  113. #define e_VegetationSpritesScaleFactorDefault              (1.0f)
  114. #ifdef DEDICATED_SERVER
  115.         #define e_RenderDefault                                  (0)
  116. #else
  117.         #ifdef _RELEASE
  118.                 #define e_RenderDefault (1)
  119.         #else
  120.                 #define e_RenderDefault (gEnv->IsDedicated() ? 0 : 1)
  121.         #endif
  122. #endif
  123.  
  124.         int    e_PermanentRenderObjects;
  125.         int    e_TerrainTextureStreamingPoolItemsNum;
  126.         int    e_ParticlesPoolSize;
  127.         int    e_ParticlesVertexPoolSize;
  128.         int    e_ParticlesIndexPoolSize;
  129.         int    e_ParticlesProfile;
  130.         int    e_ParticlesProfiler;
  131.         ICVar* e_ParticlesProfilerOutputFolder;
  132.         ICVar* e_ParticlesProfilerOutputName;
  133.         int    e_ParticlesProfilerCountBudget;
  134.         int    e_ParticlesProfilerTimingBudget;
  135.         int    e_ParticlesForceSeed;
  136.         float  e_VegetationSpritesDistanceRatio;
  137.         int    e_Decals;
  138.         int    e_DecalsAllowGameDecals;
  139.         DeclareConstFloatCVar(e_FoliageBrokenBranchesDamping);
  140.         float  e_ShadowsCastViewDistRatio;
  141.         int    e_WaterTessellationAmountY;
  142.         float  e_OnDemandMaxSize;
  143.         float  e_MaxViewDistSpecLerp;
  144.         float  e_StreamAutoMipFactorSpeedThreshold;
  145.         DeclareConstFloatCVar(e_DecalsDeferredDynamicMinSize);
  146.         DeclareConstIntCVar(e_Objects, 1);
  147.         float  e_ViewDistRatioCustom;
  148.         float  e_StreamPredictionUpdateTimeSlice;
  149.         DeclareConstIntCVar(e_DisplayMemoryUsageIcon, e_DisplayMemoryUsageIconDefault);
  150.         int    e_ScreenShotWidth;
  151.         int    e_ScreenShotDebug;
  152. #if CRY_PLATFORM_WINDOWS
  153.         int    e_ShadowsLodBiasFixed;
  154. #else
  155.         DeclareConstIntCVar(e_ShadowsLodBiasFixed, 0);
  156. #endif
  157.         DeclareConstIntCVar(e_FogVolumes, 1);
  158.         int e_VolumetricFog;
  159.         DeclareConstIntCVar(e_Render, e_RenderDefault);
  160.         DeclareConstIntCVar(e_Tessellation, 1);
  161.         float e_TessellationMaxDistance;
  162.         DeclareConstIntCVar(e_ShadowsTessellateCascades, 1);
  163.         DeclareConstIntCVar(e_ShadowsTessellateDLights, 0);
  164.         int e_CoverageBufferReproj;
  165.         int e_CoverageBufferRastPolyLimit;
  166.         int e_CoverageBufferShowOccluder;
  167.         DeclareConstFloatCVar(e_ViewDistRatioPortals);
  168.         DeclareConstIntCVar(e_ParticlesLights, 1);
  169.         DeclareConstIntCVar(e_ObjFastRegister, 1);
  170.         float  e_ViewDistRatioLights;
  171.         DeclareConstIntCVar(e_DebugDraw, 0);
  172.         ICVar* e_DebugDrawFilter;
  173.         DeclareConstIntCVar(e_DebugDrawListSize, 16);
  174.         DeclareConstIntCVar(e_DebugDrawListBBoxIndex, 0);
  175. #if !defined(_RELEASE)
  176.         const char* e_pStatObjRenderFilterStr;
  177.         int         e_statObjRenderFilterMode;
  178. #endif
  179.         DeclareConstIntCVar(e_AutoPrecacheTexturesAndShaders, 0);
  180.         int   e_StreamPredictionMaxVisAreaRecursion;
  181.         float e_StreamPredictionBoxRadius;
  182.         int   e_Clouds;
  183.         int   e_VegetationUseTerrainColor;
  184.         float e_VegetationUseTerrainColorDistance;
  185.         int   e_BrushUseTerrainColor;
  186.         int   e_DecalsMaxTrisInObject;
  187.         DeclareConstFloatCVar(e_OcclusionVolumesViewDistRatio);
  188.         DeclareConstFloatCVar(e_SunAngleSnapDot);
  189.         DeclareConstIntCVar(e_PreloadDecals, 1);
  190.         float e_DecalsLifeTimeScale;
  191.         int   e_DecalsForceDeferred;
  192.         DeclareConstIntCVar(e_CoverageBufferDebugFreeze, 0);
  193.         DeclareConstFloatCVar(e_TerrainLodRatioHolesMin);
  194.         DeclareConstIntCVar(e_TerrainOcclusionCulling, 1);
  195.         int    e_PhysProxyTriLimit;
  196.         float  e_FoliageWindActivationDist;
  197.         ICVar* e_SQTestTextureName;
  198.         int    e_ShadowsClouds;
  199.         int    e_levelStartupFrameDelay;
  200.         float  e_SkyUpdateRate;
  201.         float  e_RecursionViewDistRatio;
  202.         DeclareConstIntCVar(e_StreamCgfDebugMinObjSize, 100);
  203.         int    e_CullVegActivation;
  204.         int    e_StreamPredictionTexelDensity;
  205.         int    e_StreamPredictionAlwaysIncludeOutside;
  206.         DeclareConstIntCVar(e_DynamicLights, 1);
  207.         int    e_DynamicLightsFrameIdVisTest;
  208.         DeclareConstIntCVar(e_WaterWavesTessellationAmount, 5);
  209.         DeclareConstIntCVar(e_ShadowsLodBiasInvis, 0);
  210.         float e_CoverageBufferBias;
  211.         int   e_DynamicLightsMaxEntityLights;
  212.         int   e_SQTestMoveSpeed;
  213.         float e_StreamAutoMipFactorMax;
  214.         int   e_ObjQuality;
  215.         int   e_StaticInstancing;
  216.         int   e_StaticInstancingMinInstNum;
  217.         int   e_RNTmpDataPoolMaxFrames;
  218.         DeclareConstIntCVar(e_DynamicLightsMaxCount, 512);
  219.         DeclareConstIntCVar(e_DebugLights, 0);
  220.         int e_StreamCgfPoolSize;
  221.         DeclareConstIntCVar(e_StatObjPreload, 1);
  222.         DeclareConstIntCVar(e_ShadowsDebug, 0);
  223.         DeclareConstIntCVar(e_ShadowsCascadesCentered, 0);
  224.         DeclareConstIntCVar(e_ShadowsCascadesDebug, 0);
  225.         DeclareConstFloatCVar(e_StreamPredictionDistanceNear);
  226.         DeclareConstIntCVar(e_TerrainDrawThisSectorOnly, 0);
  227.         DeclareConstFloatCVar(e_VegetationSpritesScaleFactor);
  228.         float e_ParticlesMaxDrawScreen;
  229.         int   e_ParticlesAnimBlend;
  230.         DeclareConstIntCVar(e_GsmStats, 0);
  231.         DeclareConstIntCVar(e_DynamicLightsForceDeferred, 1);
  232.         DeclareConstIntCVar(e_Fog, 1);
  233.         float e_TimeOfDay;
  234.         int   e_Terrain;
  235.         DeclareConstIntCVar(e_SkyBox, 1);
  236.         float e_CoverageBufferAABBExpand;
  237.         int   e_CoverageBufferEarlyOut;
  238.         float e_CoverageBufferEarlyOutDelay;
  239.         float e_CoverageBufferTerrainExpand;
  240.         DeclareConstIntCVar(e_WaterWaves, 0);
  241.         int   e_GsmCastFromTerrain;
  242.         float e_TerrainLodRatio;
  243.         float e_TerrainLodDistRatio;
  244.         int   e_StatObjBufferRenderTasks;
  245.         DeclareConstIntCVar(e_StreamCgfUpdatePerNodeDistance, 1);
  246.         DeclareConstFloatCVar(e_DecalsDeferredDynamicDepthScale);
  247.         DeclareConstIntCVar(e_TerrainBBoxes, 0);
  248.         DeclareConstIntCVar(e_LightVolumes, e_LightVolumesDefault);
  249.         DeclareConstIntCVar(e_LightVolumesDebug, 0);
  250.         DeclareConstIntCVar(e_Portals, 1);
  251.         DeclareConstIntCVar(e_PortalsBlend, 1);
  252.         int   e_PortalsMaxRecursion;
  253.         float e_StreamAutoMipFactorMaxDVD;
  254.         DeclareConstIntCVar(e_CameraFreeze, 0);
  255.         float e_ParticlesMinDrawPixels;
  256.         DeclareConstFloatCVar(e_StreamPredictionAhead);
  257.         DeclareConstFloatCVar(e_FoliageBranchesStiffness);
  258.         DeclareConstFloatCVar(e_StreamPredictionMinFarZoneDistance);
  259.         int   e_StreamCgf;
  260.         int   e_StreamInstances;
  261.         int   e_StreamInstancesMaxTasks;
  262.         float e_StreamInstancesDistRatio;
  263.         int   e_CheckOcclusion;
  264.         int   e_CheckOcclusionQueueSize;
  265.         int   e_CheckOcclusionOutputQueueSize;
  266.         DeclareConstIntCVar(e_WaterVolumes, e_WaterVolumesDefault);
  267.         DeclareConstFloatCVar(e_TerrainOcclusionCullingPrecisionDistRatio);
  268.         float e_ScreenShotMapCamHeight;
  269.         DeclareConstIntCVar(e_DeformableObjects, e_DeformableObjectsDefault);
  270.         DeclareConstFloatCVar(e_StreamCgfFastUpdateMaxDistance);
  271.         DeclareConstIntCVar(e_DecalsClip, 1);
  272.         ICVar* e_ScreenShotFileFormat;
  273.         int    e_CharLodMin;
  274.         float  e_PhysOceanCell;
  275.         DeclareConstIntCVar(e_WindAreas, 1);
  276.         DeclareConstFloatCVar(e_WindBendingDistRatio);
  277.         float e_WindBendingStrength;
  278.         float e_WindBendingAreaStrength;
  279.         float e_SQTestDelay;
  280.         int   e_PhysMinCellSize;
  281.         int   e_StreamCgfMaxTasksInProgress;
  282.         int   e_StreamCgfMaxNewTasksPerUpdate;
  283.         DeclareConstFloatCVar(e_DecalsPlacementTestAreaSize);
  284.         DeclareConstFloatCVar(e_DecalsPlacementTestMinDepth);
  285.         DeclareConstFloatCVar(e_CameraRotationSpeed);
  286.         float  e_ScreenShotMapSizeY;
  287.         int    e_GI;
  288.         DeclareConstIntCVar(e_PortalsBigEntitiesFix, 1);
  289.         int    e_SQTestBegin;
  290.         int    e_VegetationSprites;
  291.         ICVar* e_CameraGoto;
  292.         DeclareConstIntCVar(e_ParticlesCullAgainstViewFrustum, 1);
  293.         DeclareConstIntCVar(e_ParticlesCullAgainstOcclusionBuffer, 1);
  294.         DeclareConstFloatCVar(e_StreamPredictionMinReportDistance);
  295.         int e_WaterTessellationSwathWidth;
  296.         DeclareConstIntCVar(e_StreamSaveStartupResultsIntoXML, 0);
  297.         DeclareConstIntCVar(e_PhysFoliage, 2);
  298.         DeclareConstIntCVar(e_RenderMeshUpdateAsync, 1);
  299.         int   e_ParticlesPreload;
  300.         int   e_ParticlesAllowRuntimeLoad;
  301.         int   e_ParticlesConvertPfx1;
  302.         DeclareConstIntCVar(e_ParticlesSerializeNamedFields, 1);
  303.         float e_CoverageBufferOccludersViewDistRatio; // TODO: make use of this cvar
  304.         int   e_DecalsDeferredDynamic;
  305.         DeclareConstIntCVar(e_DefaultMaterial, 0);
  306.         int   e_LodMin;
  307.         DeclareConstIntCVar(e_PreloadMaterials, 1);
  308.         DeclareConstIntCVar(e_ObjStats, 0);
  309.         DeclareConstIntCVar(e_TerrainDeformations, 0);
  310.         int e_TerrainDetailMaterials;
  311.         DeclareConstIntCVar(e_ShadowsFrustums, 0);
  312.         DeclareConstIntCVar(e_OcclusionVolumes, e_OcclusionVolumesDefault);
  313.         int e_DecalsDeferredStatic;
  314.         DeclareConstIntCVar(e_Roads, 1);
  315.         DeclareConstFloatCVar(e_TerrainDetailMaterialsViewDistXY);
  316.         int e_ParticlesQuality;
  317.         DeclareConstIntCVar(e_DebugDrawShowOnlyCompound, 0);
  318.         DeclareConstFloatCVar(e_SunAngleSnapSec);
  319.         float e_GsmRangeStep;
  320.         int   e_ParticlesGI;
  321.         int   e_ParticlesSoftIntersect;
  322.         int   e_ParticlesMotionBlur;
  323.         int   e_ParticlesShadows;
  324.         int   e_ParticlesAudio;
  325.         int   e_ParticleShadowsNumGSMs;
  326.         float e_FoliageBranchesTimeout;
  327.         DeclareConstFloatCVar(e_TerrainOcclusionCullingStepSizeDelta);
  328.         float e_LodRatio;
  329.         float e_LodTransitionTime;
  330.         float e_LodFaceAreaTargetSize;
  331.         float e_ObjectsTreeNodeMinSize;
  332.         float e_ObjectsTreeNodeSizeRatio;
  333.         DeclareConstIntCVar(e_CoverageBufferDrawOccluders, 0);
  334.         DeclareConstIntCVar(e_ObjectsTreeBBoxes, 0);
  335.         DeclareConstIntCVar(e_PrepareDeformableObjectsAtLoadTime, 0);
  336.         DeclareConstIntCVar(e_3dEngineTempPoolSize, 1024);
  337.         DeclareConstFloatCVar(e_MaxViewDistFullDistCamHeight);
  338.         DeclareConstIntCVar(e_VegetationBending, 2);
  339.         DeclareConstFloatCVar(e_StreamPredictionAheadDebug);
  340.         float e_ShadowsSlopeBias;
  341.         float e_ShadowsSlopeBiasHQ;
  342.         DeclareConstIntCVar(e_GsmDepthBoundsDebug, 0);
  343.         DeclareConstIntCVar(e_TimeOfDayDebug, 0);
  344.         int e_WaterTessellationAmount;
  345.         int e_Entities;
  346.         int e_CoverageBuffer;
  347.         int e_ScreenShotQuality;
  348.         DeclareConstFloatCVar(e_FoliageBranchesDamping);
  349.         int e_levelStartupFrameNum;
  350.         DeclareConstIntCVar(e_DecalsPreCreate, 1);
  351.         DeclareConstFloatCVar(e_ParticlesLightsViewDistRatio);
  352.         int   e_Brushes;
  353.         int   e_SQTestCount;
  354.         float e_GsmRange;
  355.         int   e_ScreenShotMapOrientation;
  356.         int   e_ScreenShotHeight;
  357.         DeclareConstIntCVar(e_VegetationBoneInfo, 0);
  358.         int   e_WaterOceanFFT;
  359.         DeclareConstFloatCVar(e_MaxViewDistance);
  360.         DeclareConstIntCVar(e_AutoPrecacheCameraJumpDist, 16);
  361.         DeclareConstIntCVar(e_LodsForceUse, 1);
  362.         int e_Particles;
  363.         DeclareConstIntCVar(e_ParticlesDumpMemoryAfterMapLoad, 0);
  364.         DeclareConstIntCVar(e_ForceDetailLevelForScreenRes, 0);
  365.         DeclareConstIntCVar(e_TerrainTextureStreamingDebug, 0);
  366.         DeclareConstIntCVar(e_3dEngineLogAlways, 0);
  367.         float e_VegetationMinSize;
  368.         DeclareConstIntCVar(e_DecalsHitCache, 1);
  369.         DeclareConstIntCVar(e_TerrainOcclusionCullingDebug, 0);
  370.         float e_ParticlesLod;
  371.         DeclareConstIntCVar(e_BBoxes, 0);
  372.         int   e_Vegetation;
  373.         float e_TimeOfDaySpeed;
  374.         int   e_LodMax;
  375.         DeclareConstFloatCVar(e_ViewDistCompMaxSize);
  376.         DeclareConstFloatCVar(e_TerrainTextureLodRatio);
  377.         float e_ShadowsAdaptScale;
  378.         float e_ScreenShotMapSizeX;
  379.         float e_OcclusionCullingViewDistRatio;
  380.         DeclareConstIntCVar(e_WaterOceanBottom, 1);
  381.         DeclareConstIntCVar(e_WaterRipplesDebug, 0);
  382.         int   e_OnDemandPhysics;
  383.         float e_ShadowsResScale;
  384.         DeclareConstIntCVar(e_Recursion, 1);
  385.         DeclareConstIntCVar(e_StatObjValidate, e_StatObjValidateDefault);
  386.         DeclareConstIntCVar(e_DecalsMaxValidFrames, 600);
  387.         DeclareConstIntCVar(e_DecalsMerge, 0);
  388.         DeclareConstFloatCVar(e_FoliageStiffness);
  389.         int   e_SQTestDistance;
  390.         float e_ViewDistMin;
  391.         float e_StreamAutoMipFactorMin;
  392.         DeclareConstIntCVar(e_LodMinTtris, 300);
  393.         DeclareConstIntCVar(e_SkyQuality, 1);
  394.         DeclareConstIntCVar(e_ScissorDebug, 0);
  395.         DeclareConstIntCVar(e_StatObjMergeMaxTrisPerDrawCall, 500);
  396.         DeclareConstIntCVar(e_DynamicLightsConsistentSortOrder, 1);
  397.         DeclareConstIntCVar(e_StreamCgfDebug, 0);
  398.         float e_TerrainOcclusionCullingMaxDist;
  399.         int e_TerrainMeshInstancingMinLod;
  400.         float e_TerrainMeshInstancingShadowLodRatio;
  401.         float e_TerrainMeshInstancingShadowBias;
  402.         int   e_StatObjTessellationMode;
  403.         DeclareConstIntCVar(e_OcclusionLazyHideFrames, 0);
  404.         int   e_CoverageBufferCullIndividualBrushesMaxNodeSize;
  405.         DeclareConstFloatCVar(e_TerrainOcclusionCullingPrecision);
  406.         float e_RenderMeshCollisionTolerance;
  407.         DeclareConstIntCVar(e_ShadowsMasksLimit, 0);
  408.         int   e_ShadowsCacheUpdate;
  409.         int   e_ShadowsCacheObjectLod;
  410.         int   e_ShadowsCacheRenderCharacters;
  411.         int   e_ShadowsPerObject;
  412.         int   e_DynamicDistanceShadows;
  413.         float e_ShadowsPerObjectResolutionScale;
  414.         int   e_ObjShadowCastSpec;
  415.         DeclareConstFloatCVar(e_JointStrengthScale);
  416.         float e_DecalsNeighborMaxLifeTime;
  417.         DeclareConstFloatCVar(e_StreamCgfVisObjPriority);
  418.         int   e_ObjectLayersActivation;
  419.         DeclareConstIntCVar(e_DecalsScissor, 1);
  420.         float e_VegetationSpritesDistanceCustomRatioMin;
  421.         float e_LodTransitionSpriteDistRatio;
  422.         float e_LodTransitionSpriteMinDist;
  423.         int e_WaterTessellationAmountX;
  424.         int e_ScreenShotMinSlices;
  425.         int e_DecalsMaxUpdatesPerFrame;
  426.         DeclareConstIntCVar(e_SkyType, 1);
  427.         int e_GsmLodsNum;
  428.         DeclareConstIntCVar(e_AutoPrecacheCgf, 1);
  429.         DeclareConstIntCVar(e_HwOcclusionCullingWater, 1);
  430.         DeclareConstIntCVar(e_DeferredPhysicsEvents, 1);
  431.         float e_ParticlesMinDrawAlpha;
  432.         DeclareConstFloatCVar(e_ShadowsCastViewDistRatioLights);
  433.         int   e_ShadowsUpdateViewDistRatio;
  434.         DeclareConstIntCVar(e_Lods, 1);
  435.         DeclareConstIntCVar(e_LodFaceArea, 1);
  436.         float e_ShadowsConstBias;
  437.         float e_ShadowsConstBiasHQ;
  438.         int   e_ParticlesObjectCollisions;
  439.         int   e_ParticlesMinPhysicsDynamicBounds;
  440.         int   e_ParticlesSortQuality;
  441.         DeclareConstIntCVar(e_Ropes, 1);
  442.         int   e_ShadowsPoolSize;
  443.         int   e_ShadowsMaxTexRes;
  444.         int   e_Sun;
  445.         DeclareConstFloatCVar(e_DecalsRange);
  446.         float e_ScreenShotMapCenterY;
  447.         int   e_CacheNearestCubePicking;
  448.         DeclareConstIntCVar(e_CoverCgfDebug, 0);
  449.         DeclareConstFloatCVar(e_StreamCgfGridUpdateDistance);
  450.         DeclareConstFloatCVar(e_LodCompMaxSize);
  451.         float e_ViewDistRatioDetail;
  452.         DeclareConstIntCVar(e_TerrainDetailMaterialsDebug, 0);
  453.         DeclareConstIntCVar(e_Sleep, 0);
  454.         DeclareConstIntCVar(e_TerrainOcclusionCullingStepSize, 4);
  455.         DeclareConstIntCVar(e_Wind, 1);
  456.         int   e_SQTestMip;
  457.         int   e_Shadows;
  458.         int   e_ShadowsBlendCascades;
  459.         float e_ShadowsBlendCascadesVal;
  460.         float e_ParticlesMaxScreenFill;
  461.         DeclareConstIntCVar(e_DebugDrawShowOnlyLod, -1);
  462.         DeclareConstIntCVar(e_ScreenShot, 0);
  463.         DeclareConstIntCVar(e_PrecacheLevel, 0);
  464.         float e_ScreenShotMapCenterX;
  465.         DeclareConstIntCVar(e_CoverageBufferDebug, 0);
  466.         DeclareConstIntCVar(e_StatObjMerge, 1);
  467.         DeclareConstIntCVar(e_StatObjStoreMesh, 0);
  468.         ICVar* e_StreamCgfDebugFilter;
  469.         float  e_VegetationSpritesMinDistance;
  470.         DeclareConstFloatCVar(e_TerrainDetailMaterialsViewDistZ);
  471.         DeclareConstFloatCVar(e_VolObjShadowStrength);
  472.         DeclareConstIntCVar(e_ParticlesDebug, 0);
  473.         DeclareConstIntCVar(e_WaterOcean, e_WaterOceanDefault);
  474.         float e_ViewDistRatio;
  475.         float e_ViewDistRatioVegetation;
  476.         DeclareConstIntCVar(e_ObjectLayersActivationPhysics, 1);
  477.         DeclareConstIntCVar(e_StreamCgfDebugHeatMap, 0);
  478.         DeclareConstFloatCVar(e_StreamPredictionDistanceFar);
  479.         DeclareConstIntCVar(e_VegetationSpritesBatching, 1);
  480.         DeclareConstIntCVar(e_CoverageBufferTerrain, 0);
  481.         int e_ParticlesThread;
  482.         int e_SQTestExitOnFinish;
  483.         DeclareConstIntCVar(e_TerrainOcclusionCullingMaxSteps, 50);
  484.         int e_ParticlesUseLevelSpecificLibs;
  485.         int   e_DecalsOverlapping;
  486.         int   e_CGFMaxFileSize;
  487.         int   e_MaxDrawCalls;
  488.         DeclareConstFloatCVar(e_ParticlesLightMinRadiusThreshold);
  489.         DeclareConstFloatCVar(e_ParticlesLightMinColorThreshold);
  490. #if !defined(_RELEASE)
  491.         int e_MergedMeshesClusterVisualization;
  492.         int e_MergedMeshesClusterVisualizationDimension;
  493. #endif
  494.  
  495.         // ProcVegetation cvars
  496.         int    e_ProcVegetation;
  497.         int    e_ProcVegetationMaxSectorsInCache;
  498.         int    e_ProcVegetationMaxChunksInCache;
  499.         int    e_ProcVegetationMaxCacheLevels;
  500.         int    e_ProcVegetationMaxViewDistance;
  501.         int    e_ProcVegetationMaxObjectsInChunk;
  502.         int    e_AutoPrecacheTerrainAndProcVeget;
  503.  
  504.         int    e_DebugGeomPrep;
  505.         int    e_MergedMeshes;
  506.         int    e_MergedMeshesDebug;
  507.         int    e_MergedMeshesPool;
  508.         int    e_MergedMeshesPoolSpines;
  509.         int    e_MergedMeshesTesselationSupport;
  510.         float  e_MergedMeshesViewDistRatio;
  511.         float  e_MergedMeshesLodRatio;
  512.         float  e_MergedMeshesInstanceDist;
  513.         float  e_MergedMeshesActiveDist;
  514.         float  e_MergedMeshesDeformViewDistMod;
  515.         int    e_MergedMeshesUseSpines;
  516.         float  e_MergedMeshesBulletSpeedFactor;
  517.         float  e_MergedMeshesBulletScale;
  518.         float  e_MergedMeshesBulletLifetime;
  519.         int    e_MergedMeshesOutdoorOnly;
  520.         int    e_CheckOctreeObjectsBoxSize;
  521.         DeclareConstIntCVar(e_GeomCaches, 1);
  522.         int    e_GeomCacheBufferSize;
  523.         int    e_GeomCacheMaxPlaybackFromMemorySize;
  524.         int    e_GeomCachePreferredDiskRequestSize;
  525.         float  e_GeomCacheMinBufferAheadTime;
  526.         float  e_GeomCacheMaxBufferAheadTime;
  527.         float  e_GeomCacheDecodeAheadTime;
  528.         DeclareConstIntCVar(e_GeomCacheDebug, 0);
  529.         ICVar* e_GeomCacheDebugFilter;
  530.         DeclareConstIntCVar(e_GeomCacheDebugDrawMode, 0);
  531.         DeclareConstIntCVar(e_GeomCacheLerpBetweenFrames, 1);
  532.  
  533. #if defined(FEATURE_SVO_GI)
  534.         #include "SVO/SceneTreeCVars.inl" // include SVO related variables
  535. #endif
  536. };
  537.  
  538. #endif // _3DENGINE_CVARS_H_
  539.  
downloadcvars.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top