Go to the documentation of this file.
58 ID3D11Buffer* pd3d11Buffer);
87 void CreateUAV(
struct BufferViewDesc& UAVDesc, ID3D11UnorderedAccessView** ppD3D11UAV);
88 void CreateSRV(
struct BufferViewDesc& SRVDesc, ID3D11ShaderResourceView** ppD3D11SRV);
91 CComPtr<ID3D11Buffer> m_pd3d11Buffer;
Buffer view description.
Definition: BufferView.h:88
Base interface for a reference counter object that stores the number of strong and weak references an...
Definition: ReferenceCounters.h:44
bool IsInKnownState() const
Definition: BufferBase.hpp:197
virtual ID3D11Buffer * GetD3D11Buffer() override final
Implementation of IBufferD3D11::GetD3D11Buffer().
Definition: BufferD3D11Impl.hpp:65
Base interface for all dynamic objects in the engine.
Definition: Object.h:41
Device context implementation in Direct3D11 backend.
Definition: DeviceContextD3D11Impl.hpp:56
void AddState(RESOURCE_STATE State)
Definition: BufferD3D11Impl.hpp:70
Template class implementing base functionality of the buffer object.
Definition: BufferBase.hpp:59
void ClearState(RESOURCE_STATE State)
Definition: BufferD3D11Impl.hpp:76
Unique interface identifier.
Definition: InterfaceID.h:37
virtual void QueryInterface(const INTERFACE_ID &IID, IObject **ppInterface) override final
~BufferD3D11Impl()
Definition: BufferD3D11Impl.cpp:217
#define DILIGENT_CALL_TYPE
Definition: CommonDefinitions.h:45
@ RESOURCE_STATE_UNDEFINED
The resource state is known to the engine, but is undefined. A resource is typically in an undefined ...
Definition: GraphicsTypes.h:2820
@ RESOURCE_STATE_UNKNOWN
The resource state is not known to the engine and is managed by the application.
Definition: GraphicsTypes.h:2817
Buffer object implementation in Direct3D11 backend.
Definition: BufferD3D11Impl.hpp:42
Buffer description.
Definition: Buffer.h:74
virtual void CreateViewInternal(const struct BufferViewDesc &ViewDesc, IBufferView **ppView, bool bIsDefaultView) override
Definition: BufferD3D11Impl.cpp:224
virtual void * GetNativeHandle() override final
Implementation of IBuffer::GetNativeHandle().
Definition: BufferD3D11Impl.hpp:68
#define VERIFY_EXPR(...)
Definition: DebugUtilities.hpp:79
Render device implementation in Direct3D11 backend.
Definition: RenderDeviceD3D11Impl.hpp:40
Memory allocator that allocates memory in a fixed-size chunks.
Definition: FixedBlockMemoryAllocator.hpp:56
BufferD3D11Impl(IReferenceCounters *pRefCounters, FixedBlockMemoryAllocator &BuffViewObjMemAllocator, RenderDeviceD3D11Impl *pDeviceD3D11, const BufferDesc &BuffDesc, const BufferData *pBuffData=nullptr)
Definition: BufferD3D11Impl.cpp:44
RESOURCE_STATE
Resource usage state.
Definition: GraphicsTypes.h:2814
Buffer view interface.
Definition: BufferView.h:155
Describes the buffer initial data.
Definition: Buffer.h:155
RESOURCE_STATE m_State
Definition: BufferBase.hpp:217
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37