|
| virtual void DILIGENT_CALL_TYPE | CreateDeviceAndSwapChainGL (const EngineGLCreateInfo &EngineCI, IRenderDevice **ppDevice, IDeviceContext **ppImmediateContext, const SwapChainDesc &SCDesc, ISwapChain **ppSwapChain)=0 |
| | Creates a render device and swap chain for OpenGL-based engine implementation.
|
| |
| virtual void DILIGENT_CALL_TYPE | CreateHLSL2GLSLConverter (IHLSL2GLSLConverter **ppConverter)=0 |
| | Creates a HLSL2GLSL converter.
|
| |
| virtual void DILIGENT_CALL_TYPE | AttachToActiveGLContext (const EngineGLCreateInfo &EngineCI, IRenderDevice **ppDevice, IDeviceContext **ppImmediateContext)=0 |
| | Attaches to the active GL context in the thread.
|
| |
|
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.
|
| |
| template<typename DerivedType, typename = typename std::enable_if<std::is_base_of<IObject, DerivedType>::value>::type> |
| void | QueryInterface (const INTERFACE_ID &IID, DerivedType **ppInterface) |
| |
| 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 OpenGL rendering backend.