Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Copies data from a buffer holding variable length data.
Syntax
void CopyStructureCount(
[in] ID3D11Buffer *pDstBuffer,
[in] UINT DstAlignedByteOffset,
[in] ID3D11UnorderedAccessView *pSrcView
);
Parameters
[in] pDstBuffer
Type: 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.
[in] DstAlignedByteOffset
Type: UINT
Offset from the start of pDstBuffer to write 32-bit UINT structure (vertex) count from pSrcView.
[in] pSrcView
Type: 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.
Return value
None
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d3d11.h |
| Library | D3D11.lib |