Skip to main content
Adds an entry to the cache.

Syntax

Parameters

pKey
Type: const void *
The key of the entry to add. KeySize
Type: UINT
The size of the key, in bytes. pValue
Type: const void *
A pointer to a memory block containing the entry to add. ValueSize
Type: UINT
The size of the entry to add, in bytes.

Return value

Type: HRESULT If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Requirements

Header: d3d12_xs.h or d3d12_x.h
Library: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family

See Also

Last modified on August 20, 2026