ID3D12GraphicsCommandList::FillMemoryWith32BitValueX Method

Fills the specified range of GPU memory with the specified 32-bit value.

Syntax

public:
void FillMemoryWith32BitValueX(
         D3D12_GPU_VIRTUAL_ADDRESS Destination,
         UINT64 SizeBytes,
         UINT Value,
         D3D12XBOX_COPY_FLAGS Flags
)  

Parameters

Destination
Type: D3D12_GPU_VIRTUAL_ADDRESS 

The base address in memory to begin filling with the 32-bit value.

SizeBytes
Type: UINT64 

The size in bytes of the memory to fill. The size must be a multiple of 8 bytes.

Value
Type: UINT 

The 32-bit value to write to the specified memory range.

Flags
Type: D3D12XBOX_COPY_FLAGS 

Optional flags to control this operation, as a bitwise-OR’d combination of D3D12XBOX_COPY_FLAGS enumeration constants. Flags must currently be set to D3D12XBOX_COPY_FLAG_NONE.

Return value

Type: void 

Returns nothing.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

ID3D12GraphicsCommandList Interface

ID3D12GraphicsCommandList Members