|
Diligent Engine API Reference
|
Base interface for all dynamic objects in the engine. More...
Public Member Functions | |
| virtual void | QueryInterface (const Diligent::INTERFACE_ID &IID, IObject **ppInterface)=0 |
| Queries the specific interface. More... | |
| virtual CounterValueType | AddRef ()=0 |
| Increments the number of strong references by 1. More... | |
| virtual CounterValueType | 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. | |
Base interface for all dynamic objects in the engine.
|
pure virtual |
Increments the number of strong references by 1.
Implemented in Diligent::ShaderVariableBase.
|
pure virtual |
Queries the specific interface.
| [in] | IID | - Unique identifier of the requested interface. |
| [out] | ppInterface | - Memory address where the pointer to the requested interface will be written. If the interface is not supported, null pointer will be returned. |
Implemented in Diligent::IDeviceContext, Diligent::IShader, Diligent::ITexture, Diligent::IPipelineState, Diligent::IBuffer, Diligent::ISampler, Diligent::ITextureView, Diligent::ShaderVariableBase, Diligent::ResourceMappingImpl, Diligent::IBufferView, Diligent::IResourceMapping, Diligent::ShaderGLImpl, Diligent::BufferD3D11Impl, Diligent::TextureBaseGL, Diligent::TextureBaseD3D11, Diligent::TextureD3D12Impl, Diligent::BufferGLImpl, Diligent::IRenderDevice, Diligent::BufferD3D12Impl, Diligent::BufferViewGLImpl, Diligent::ShaderD3D11Impl, Diligent::TextureViewD3D11Impl, Diligent::BufferViewD3D12Impl, Diligent::RenderDeviceD3D12Impl, Diligent::TextureViewD3D12Impl, Diligent::BufferViewD3D11Impl, Diligent::PipelineStateD3D12Impl, Diligent::SwapChainD3D12Impl, Diligent::TextureViewGLImpl, Diligent::DeviceContextD3D12Impl, Diligent::BasicFileStream, Diligent::PipelineStateD3D11Impl, Diligent::ShaderResourceBindingD3D11Impl, Diligent::SwapChainD3D11Impl, Diligent::ShaderResourceBindingD3D12Impl, Diligent::PipelineStateGLImpl, Diligent::DeviceContextD3D11Impl, Diligent::SamplerD3D12Impl, Diligent::ShaderResourceBindingGLImpl, Diligent::SamplerD3D11Impl, Diligent::DataBlobImpl, Diligent::SamplerGLImpl, Diligent::SwapChainGLImpl, Diligent::IDeviceObject, Diligent::IShaderResourceBinding, Diligent::RenderDeviceD3D11Impl, Diligent::CommandQueueD3D12Impl, and Diligent::DeviceContextGLImpl.
|
pure virtual |
Decrements the number of strong references by 1 and destroys the object when the counter reaches zero.
Implemented in Diligent::ShaderVariableBase.