ID3D11ComputeContextX::FillMemoryWithValue Method

Fills a memory buffer with the given 32-bit value.

Syntax

public:
void FillMemoryWithValue(
         void *pDstAddress,
         SIZE_T SizeBytes,
         UINT FillValue
)  

Parameters

pDstAddress
Type: void *

[in] The destination address. Must be byte-aligned in graphics memory.

SizeBytes
Type: SIZE_T 

[in] The number of bytes to write. Must be a multiple of 4 bytes.

FillValue
Type: UINT 

[in] The value to place in the buffer.

Return value

None.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11ComputeContextX Interface

ID3D11ComputeContextX Members