Copies data from a buffer holding variable length data.
public:
void CopyStructureCount(
ID3D11Buffer *pDstBuffer,
UINT DstAlignedByteOffset,
ID3D11UnorderedAccessView *pSrcView
)
pDstBuffer
Type: ID3D11Buffer *
[in] Pointer to ID3D11Buffer. This can be any buffer resource that other copy commands, such as ID3D11DeviceContext::CopyResource or ID3D11DeviceContext::CopySubresourceRegion, are able to write to.
DstAlignedByteOffset
Type: UINT
[in] Offset from the start of pDstBuffer to write 32-bit UINT structure (vertex) count from pSrcView.
pSrcView
Type: ID3D11UnorderedAccessView *
[in] Pointer to an ID3D11UnorderedAccessView of a Structured Buffer resource created with either D3D11_BUFFER_UAV_FLAG_APPEND or D3D11_BUFFER_UAV_FLAG_COUNTER specified when the UAV was created. These types of resources have hidden counters tracking “how many” records have been written.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).