|
| virtual void DILIGENT_CALL_TYPE | CreateDeviceAndContextsWebGPU (const EngineWebGPUCreateInfo &EngineCI, IRenderDevice **ppDevice, IDeviceContext **ppContexts)=0 |
| | Creates a render device and device contexts for WebGPU-based engine implementation.
|
| |
| virtual void DILIGENT_CALL_TYPE | CreateSwapChainWebGPU (IRenderDevice *pDevice, IDeviceContext *pImmediateContext, const SwapChainDesc &SCDesc, const NativeWindow &Window, ISwapChain **ppSwapChain)=0 |
| | Creates a swap chain for WebGPU-based engine implementation.
|
| |
| virtual void DILIGENT_CALL_TYPE | AttachToWebGPUDevice (void *wgpuInstance, void *wgpuAdapter, void *wgpuDevice, const EngineWebGPUCreateInfo &EngineCI, IRenderDevice **ppDevice, IDeviceContext **ppContexts)=0 |
| | Attaches to existing WebGPU render device, adapter and instance.
|
| |
|
virtual const void *DILIGENT_CALL_TYPE | GetProcessTable () const =0 |
| | Return the pointer to DawnProcTable.
|
| |
|
virtual const APIInfo &DILIGENT_CALL_TYPE | GetAPIInfo () const =0 |
| | Returns API info structure, see Diligent::APIInfo.
|
| |
| virtual void DILIGENT_CALL_TYPE | CreateDefaultShaderSourceStreamFactory (const Char *SearchDirectories, struct IShaderSourceInputStreamFactory **ppShaderSourceFactory) const =0 |
| | Creates default shader source input stream factory.
|
| |
| virtual void DILIGENT_CALL_TYPE | CreateDataBlob (size_t InitialSize, const void *pData, IDataBlob **ppDataBlob) const =0 |
| | Creates a data blob.
|
| |
| virtual void DILIGENT_CALL_TYPE | EnumerateAdapters (Version MinVersion, Uint32 &NumAdapters, GraphicsAdapterInfo *Adapters) const =0 |
| | Enumerates adapters available on this machine.
|
| |
| virtual void DILIGENT_CALL_TYPE | CreateDearchiver (const DearchiverCreateInfo &CreateInfo, struct IDearchiver **ppDearchiver) const =0 |
| | Creates a dearchiver object.
|
| |
| virtual void DILIGENT_CALL_TYPE | SetMessageCallback (DebugMessageCallbackType MessageCallback) const =0 |
| | Sets a user-provided debug message callback.
|
| |
| virtual void DILIGENT_CALL_TYPE | SetBreakOnError (bool BreakOnError) const =0 |
| | Sets whether to break program execution on assertion failure.
|
| |
| virtual void DILIGENT_CALL_TYPE | SetMemoryAllocator (IMemoryAllocator *pAllocator) const =0 |
| | Sets the memory allocator to be used by the engine.
|
| |
| virtual void DILIGENT_CALL_TYPE | QueryInterface (const INTERFACE_ID &IID, IObject **ppInterface)=0 |
| | Queries the specific interface.
|
| |
| virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | AddRef ()=0 |
| | Increments the number of strong references by 1.
|
| |
| virtual ReferenceCounterValueType DILIGENT_CALL_TYPE | Release ()=0 |
| |
| virtual IReferenceCounters *DILIGENT_CALL_TYPE | GetReferenceCounters () const =0 |
| |
Engine factory for WebGPU rendering backend.