ID3D11DeviceContext::CopyStructureCount Method
Copies data from a buffer holding variable length data.
Syntax
void CopyStructureCount(
[in] ID3D11Buffer *pDstBuffer,
[in] UINT DstAlignedByteOffset,
[in] ID3D11UnorderedAccessView *pSrcView
);
Parameter
pDstBuffer [in]
Typ: ID3D11Buffer*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 [in]
Typ: UINTOffset from the start of pDstBuffer to write 32-bit UINT structure (vertex) count from pSrcView.
pSrcView [in]
Typ: ID3D11UnorderedAccessView*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.
Rückgabewert
Returns nothing.
Anforderungen
Header |
D3D11.h |
Bibliothek |
D3D11.lib |