CopyStructureCount
End
Map
TOC
Collapse the table of content
Expand the table of content

ID3D11DeviceContext::CopyStructureCount method

Copies data from a buffer holding variable length data.

Syntax


void CopyStructureCount(
  [in] ID3D11Buffer              *pDstBuffer,
  [in] UINT                      DstAlignedByteOffset,
  [in] ID3D11UnorderedAccessView *pSrcView
);

Parameters

pDstBuffer [in]

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.

DstAlignedByteOffset [in]

Type: UINT

Offset from the start of pDstBuffer to write 32-bit UINT structure (vertex) count from pSrcView.

pSrcView [in]

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

Returns nothing.

Requirements

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11DeviceContext

 

 

Show:
© 2016 Microsoft