Diligent Engine  v.2.4.g
Public Member Functions | List of all members
Diligent::IEngineFactoryVk Struct Reference

#include <EngineFactoryVk.h>

Inheritance diagram for Diligent::IEngineFactoryVk:
Diligent::IEngineFactory Diligent::IObject Diligent::EngineFactoryBase< IEngineFactoryVk > Diligent::EngineFactoryVkImpl

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 IReferenceCountersGetReferenceCounters () 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...
 

Member Function Documentation

◆ CreateDeviceAndContextsVk()

virtual void METHOD() Diligent::IEngineFactoryVk::CreateDeviceAndContextsVk ( const EngineVkCreateInfo EngineCI,
IRenderDevice **  ppDevice,
IDeviceContext **  ppContexts 
)
virtual

Creates a render device and device contexts for Vulkan backend.

Parameters
[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.

◆ CreateSwapChainVk()

virtual void METHOD() Diligent::IEngineFactoryVk::CreateSwapChainVk ( IRenderDevice pDevice,
IDeviceContext pImmediateContext,
const SwapChainDesc SwapChainDesc,
const NativeWindow &  Window,
ISwapChain **  ppSwapChain 
)
virtual

Creates a swap chain for Vulkan-based engine implementation.

Parameters
[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.


The documentation for this struct was generated from the following file: