TotalVRAM

Gets the total VRAM size of a GPU.

Syntax

Copied!

ADLX_RESULT     TotalVRAM (adlx_uint* vramMB)

Parameters

  1. [out] vramMB adlx_uint* The pointer to a variable where the total VRAM size is returned.

Return Value

If the total VRAM size is successfully returned, ADLX_OK is returned.

If the total VRAM size is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The total VRAM size is in MB.

Requirements

Header

include “ISystem.h”

Minimum version

1.0