enum HALConfigFlags { HALConfig_NoSceneCalls = 0x00000001, HALConfig_StaticBuffers = 0x00000010, HALConfig_ShaderModel20 = 0x00000020 };
HALConfigFlags enumeration defines the system-specific HAL configuration flags passed into HAL::InitHAL through HALInitParams.
Members |
Description |
HALConfig_NoSceneCalls = 0x00000001 |
Prevents BeginScene/EndScene from being used inside BeginDisplay/EndDisplay. - assumes that Direct3D is already in scene by the time BeginDisplay/EndDisplay are called. - allows user to manage their own begin/end scene calls. |
HALConfig_StaticBuffers = 0x00000010 |
Use static buffers in the mesh cache. This has no visible impact, however, it may have performance implications. Rendering from static buffers generally has faster throughput, but can cause significant latency issues with dynamic content. This also may be used silently, if the underlying hardware does not support D3D9 queries. |
HALConfig_ShaderModel20 = 0x00000020 |
Forces the shader system to use ShaderModel 2.0 shaders (even if it is capable of 3.0). |
D3D9_HAL.h