ID3D11ComputeContextX::WriteTimestampToBuffer Method

Writes a 64-bit GPU timestamp value to the destination buffer resource.

Syntax

public:
void WriteTimestampToBuffer(
         ID3D11Buffer *pBuffer,
         UINT OffsetBytes
)  

Parameters

pBuffer
Type: ID3D11Buffer *

[in] The start of the buffer, as a pointer to ID3D11Buffer.

OffsetBytes
Type: UINT 

[in] The offset within the buffer at which to write the timestamp, in bytes.

Return value

None.

Remarks

The timestamp is the same 100MHz timestamp used by Direct3D timestamp queries.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11ComputeContextX Interface

ID3D11ComputeContextX Members