Skip to content

GetAvailableOptions

Navigation: ADLX SDK ReferencesADLX InterfacesSystemIADLXVariableGraphicsMemory

Syntax

ADLX_RESULT    GetAvailableOptions (IADLXVariableGraphicsMemoryOptionList** ppOptions)

Parameters

#DirectionNameTypeDescription
1.[out]ppGPUsIADLXVariableGraphicsMemoryOptionListThe address of a pointer to the returned interface. If the interface is not successfully returned, the method sets the dereferenced address *ppOptions to nullptr.

Return Value

If the available Variable Graphics Memory options are successfully returned, ADLX_OK is returned.

If the avaialble Variable Graphics Memory options are not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The returned interface must be discarded with Release when it is no longer needed.

Additional Info

In C++, when using ADLX interfaces as smart pointers, there is no need to call Release because smart pointers call it in their internal implementation.

Variable Graphics Memory optimizes memory usage for best performance based on the selected profile by converting up to 75% of the system RAM to dedicated graphics memory (vRAM).

Requirements

Headerinclude “ISystem3.h”
Minimum version1.5

See Also: Release, IADLXVariableGraphicsMemoryOptionList, ADLX Enums