struct HALInitParams { MemoryManager* pMemoryManager; unsigned ConfigFlags; ThreadId RenderThreadId; Ptr<TextureManager> pTextureManager; Ptr<RenderBufferManager> pRenderBufferManager; unsigned RenderQueueSize; };
HALInitParams contains common arguments passed to HAL::InitHAL function. Typically this structure is not used directly, with a system-specific derived structure such as D3D9::HALInitParams or PS3::HALInitParams being passed instead.
Data Member |
Description |
ConfigFlags contains platform-specific settings defined by HALConfig enumerations in the appropriate platform-specific back ends, such as D3D9::HALConfig_NoSceneCalls. | |
MemoryManager to use for video memory allocations, applicable to consoles. This value is ignored with D3D and OpenGL and can be null. | |
RenderBufferManager controls creation and lifetime of render target buffers; this class can be substituted to alter buffer memory management strategy. | |
RenderQueueSize controls the size of the internal queue of RenderQueueItems used by the renderer. Once this limit is reached, a rendering flush will be required. | |
RenderThreadId identifies the main renderer thread; it is used to identify which thread is currently executing, and is used by the texture manager, and DrawableImage systems. Should not be null. |
Method |
Description |
HALInitParams constructor. |
Render_HAL.h