D3DFlushCpuCache

Flushes a CPU cache, using a CPU virtual address that points to graphics memory or committed CPU memory.

Syntax

VOID D3DFlushCpuCache(
         const VOID *pAddress,
         SIZE_T SizeBytes
)  

Parameters

pAddress
Type: VOID *

A valid CPU virtual address, pointing to graphics memory or committed CPU memory.

SizeBytes
Type: SIZE_T 

The size in bytes of the memory to flush from the CPU caches.

Return value

Type: VOID 

Returns nothing.

Requirements

Header: Declared in d3d11_x.h (d3d11_1.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

D3D11_GRAPHICS_MEMORY_ACCESS_FLAG Enumeration