Writes a 64-bit GPU timestamp value to the destination buffer resource.
public:
void WriteTimestampToBuffer(
ID3D11Buffer *pBuffer,
UINT OffsetBytes
)
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.
The timestamp is the same 100MHz timestamp used by Direct3D timestamp queries.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.