|
Diligent Engine
v.2.4.g
|
#include <EngineFactoryVk.h>
Public Member Functions | |
| virtual void METHOD() | CreateDeviceAndContextsVk (const EngineVkCreateInfo &EngineCI, IRenderDevice **ppDevice, IDeviceContext **ppContexts) |
| Creates a render device and device contexts for Vulkan backend. More... | |
| virtual void METHOD() | CreateSwapChainVk (IRenderDevice *pDevice, IDeviceContext *pImmediateContext, const SwapChainDesc &SwapChainDesc, const NativeWindow &Window, ISwapChain **ppSwapChain) |
| Creates a swap chain for Vulkan-based engine implementation. More... | |
Public Member Functions inherited from Diligent::IEngineFactory | |
| virtual const APIInfo &METHOD() | GetAPIInfo () const |
| Returns API info structure. More... | |
| virtual void METHOD() | CreateDefaultShaderSourceStreamFactory (const Char *SearchDirectories, struct IShaderSourceInputStreamFactory **ppShaderSourceFactory) const |
| Creates default shader source input stream factory. More... | |
Public Member Functions inherited from Diligent::IObject | |
| virtual void | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
| Queries the specific interface. More... | |
| virtual ReferenceCounterValueType | AddRef ()=0 |
| Increments the number of strong references by 1. More... | |
| virtual ReferenceCounterValueType | Release ()=0 |
| Decrements the number of strong references by 1 and destroys the object when the counter reaches zero. More... | |
| virtual IReferenceCounters * | GetReferenceCounters () const =0 |
| Returns the pointer to IReferenceCounters interface of the associated reference counters object. The method does NOT increment the number of strong references to the returned object. More... | |
|
virtual |
Creates a render device and device contexts for Vulkan backend.
| [in] | EngineCI | - Engine creation attributes. |
| [out] | ppDevice | - Address of the memory location where pointer to the created device will be written |
| [out] | ppContexts | - Address of the memory location where pointers to the contexts will be written. Immediate context goes at position 0. If EngineCI.NumDeferredContexts > 0, pointers to the deferred contexts are written afterwards. |
Reimplemented in Diligent::EngineFactoryVkImpl.
|
virtual |
Creates a swap chain for Vulkan-based engine implementation.
| [in] | pDevice | - Pointer to the render device |
| [in] | pImmediateContext | - Pointer to the immediate device context |
| [in] | SCDesc | - Swap chain description |
| [in] | Window | - Platform-specific native window description that the swap chain will be associated with. |
| [out] | ppSwapChain | - Address of the memory location where pointer to the new swap chain will be written |
Reimplemented in Diligent::EngineFactoryVkImpl.
1.8.17