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 Atomics::Long | AddRef ()=0 |
Increments the number of strong references by 1. More... | |
virtual Atomics::Long | 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 metod 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::TextureBaseD3D11, Diligent::IRenderDevice, Diligent::TextureD3D12Impl, Diligent::TextureBaseGL, Diligent::BufferGLImpl, Diligent::ShaderD3D11Impl, Diligent::BufferD3D12Impl, Diligent::TextureViewD3D11Impl, Diligent::BufferViewD3D12Impl, Diligent::TextureViewD3D12Impl, Diligent::BufferViewD3D11Impl, Diligent::BufferViewGLImpl, Diligent::TextureViewGLImpl, Diligent::PipelineStateD3D12Impl, Diligent::SwapChainD3D12Impl, Diligent::PipelineStateD3D11Impl, Diligent::ShaderResourceBindingD3D11Impl, Diligent::SwapChainD3D11Impl, Diligent::ShaderResourceBindingD3D12Impl, Diligent::DeviceContextD3D11Impl, Diligent::PipelineStateGLImpl, Diligent::ShaderResourceBindingGLImpl, Diligent::BasicFileStream, Diligent::SamplerD3D12Impl, Diligent::SamplerD3D11Impl, Diligent::SamplerGLImpl, Diligent::SwapChainGLImpl, Diligent::IDeviceObject, Diligent::IShaderResourceBinding, Diligent::DeviceContextGLImpl, and Diligent::DataBlobImpl.
|
pure virtual |
Decrements the number of strong references by 1 and destroys the object when the counter reaches zero.
Implemented in Diligent::ShaderVariableBase.