ID3D11DeviceX::GarbageCollect Method

Frees memory that was allocated for this class.

Syntax

public:
void GarbageCollect(
         UINT Flags
)  

Parameters

Flags
Type: UINT 

[in] Ignored; you must specify zero.

This call is only available when specifying D3D11_CREATE_DEVICE_MANUAL_GARBAGE_COLLECTION in the Flags parameter of D3D11CreateDevice.

Return value

None.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceX Interface

ID3D11DeviceX Members