EngineCreateInfo struct
Engine creation attibutes.
Contents
- Reference
Derived classes
- struct EngineD3D11CreateInfo
- Attributes specific to D3D11 engine.
- struct EngineD3D12CreateInfo
- Attributes specific to D3D12 engine.
- struct EngineGLCreateInfo
- Attributes of the OpenGL-based engine implementation.
- struct EngineMtlCreateInfo
- Attributes of the Metal-based engine implementation.
- struct EngineVkCreateInfo
- Attributes specific to Vulkan engine.
Public variables
- Int32 APIVersion
- API version number.
- Uint32 NumDeferredContexts
- Number of deferred contexts to create when initializing the engine. If non-zero number is given, pointers to the contexts are written to ppContexts array by the engine factory functions (IEngineFactoryD3D11::
CreateDeviceAndContextsD3D11, IEngineFactoryD3D12:: CreateDeviceAndContextsD3D12, and IEngineFactoryVk:: CreateDeviceAndContextsVk) starting at position 1. - DeviceFeatures Features
- Requested device features.
- struct IMemoryAllocator* pRawMemAllocator
- Pointer to the raw memory allocator that will be used for all memory allocation/deallocation operations in the engine.
- DebugMessageCallbackType DebugMessageCallback
- Pointer to the user-specified debug message callback function.
Variable documentation
DeviceFeatures Diligent:: EngineCreateInfo:: Features
Requested device features.
If a feature is requested to be optioanl, the engine will attempt to enable the feature. If the feature is not supported by the device/driver/platform, the engine will successfully be initialized, but the feature will be disabled. The actual feature state can be queried from DeviceCaps structure.