Skip to main content

D3D11Buffer

The D3D11Buffer class is a Direct3D11-specific implementation of the Buffer class, providing access to internal resources and views. It enables the creation of external buffers from ID3D11Buffer objects and provides methods to retrieve unordered access and shader resource views. This class also includes support for interop handles to facilitate advanced resource management in Direct3D11-based applications.

#include <platform/TellusimBuffer.h>

Inheritance

Constructors

D3D11Buffer()

Methods

Create external buffer.

bool create(Flags flags, ID3D11Buffer *buffer)
ID3D11Buffer *getD3D11Buffer() const
ID3D11UnorderedAccessView *getUnorderedAccessView() const
ID3D11ShaderResourceView *getShaderResourceView() const
void *getInteropHandle() const