ADLX Macro

This section provides ADLX macro definitions for various ADLX functionalities.

Requirements

Header

include “ADLX.h”

Minimum version

1.0

Macros

ADLX_DLL_NAME

ADLX dll name in ANSI applications

Definition

Copied!

#define ADLX_DLL_NAME                       ADLX_DLL_NAMEA

ADLX_DLL_NAMEA

ANSI name for 32-bit ADLX dll

Definition

Copied!

#define ADLX_DLL_NAMEA                      "amdadlx32.dll"

ADLX_DLL_NAMEW

Unicode name for 32-bit ADLX dll

Definition

Copied!

#define ADLX_DLL_NAMEW                      L"amdadlx32.dll"

ADLX_FAILED

Checks if the result code passed as parameter indicates an unsuccessful operation.

Definition

Copied!

#define ADLX_FAILED(x) (**ADLX_OK** != (x)  && **ADLX_ALREADY_ENABLED** != (x) && **ADLX_ALREADY_INITIALIZED** != (x))

ADLX_INIT_FUNCTION_NAME

The function name of ADLXInitialize

Definition

Copied!

#define ADLX_INIT_FUNCTION_NAME                             "ADLXInitialize"

ADLX_INIT_WITH_CALLER_ADL_FUNCTION_NAME

The function name of ADLXInitializeWithCallerAdl

Definition

Copied!

#define ADLX_INIT_WITH_CALLER_ADL_FUNCTION_NAME             "ADLXInitializeWithCallerAdl"

ADLX_INIT_WITH_INCOMPATIBLE_DRIVER_FUNCTION_NAME

The function name of ADLXInitializeWithIncompatibleDriver

Definition

Copied!

#define ADLX_INIT_WITH_INCOMPATIBLE_DRIVER_FUNCTION_NAME          "ADLXInitializeWithIncompatibleDriver"

ADLX_QUERY_FULL_VERSION_FUNCTION_NAME

The function name of QueryFullVersion

Definition

Copied!

#define ADLX_QUERY_FULL_VERSION_FUNCTION_NAME                    "ADLXQueryFullVersion"

ADLX_QUERY_VERSION_FUNCTION_NAME

The function name of QueryVersion

Definition

Copied!

#define ADLX_QUERY_VERSION_FUNCTION_NAME            "ADLXQueryVersion"

ADLX_SUCCEEDED

Checks if the result code passed as parameter indicates a successful operation.

Definition

Copied!

#define ADLX_SUCCEEDED(x) (**ADLX_OK**  == (x) || **ADLX_ALREADY_ENABLED** == (x) || **ADLX_ALREADY_INITIALIZED** == (x))

ADLX_TERMINATE_FUNCTION_NAME

The function name of ADLXTerminate

Definition

Copied!

#define ADLX_TERMINATE_FUNCTION_NAME                        "ADLXTerminate"

MAX_USER_3DLUT_NUM_POINTS

Constant value used to set size of user 3D LUT data

Definition

Copied!

#define MAX_USER_3DLUT_NUM_POINTS     17

Related pages

  • Visit the Adlx product page for download links and more information.

Looking for more documentation on GPUOpen?

AMD GPUOpen software blogs

Our handy software release blogs will help you make good use of our tools, SDKs, and effects, as well as sharing the latest features with new releases.

GPUOpen Manuals

Don’t miss our manual documentation! And if slide decks are what you’re after, you’ll find 100+ of our finest presentations here.

AMD GPUOpen Performance Guides

The home of great performance and optimization advice for AMD RDNA™ 2 GPUs, AMD Ryzen™ CPUs, and so much more.

Getting started: AMD GPUOpen software

New or fairly new to AMD’s tools, libraries, and effects? This is the best place to get started on GPUOpen!

AMD GPUOpen Getting Started Development and Performance

Looking for tips on getting started with developing and/or optimizing your game, whether on AMD hardware or generally? We’ve got you covered!

AMD GPUOpen Technical blogs

Browse our technical blogs, and find valuable advice on developing with AMD hardware, ray tracing, Vulkan®, DirectX®, Unreal Engine, and lots more.

Find out more about our software!

AMD GPUOpen Effects - AMD FidelityFX technologies

Create wonder. No black boxes. Meet the AMD FidelityFX SDK!

AMD GPUOpen Samples

Browse all our useful samples. Perfect for when you’re needing to get started, want to integrate one of our libraries, and much more.

AMD GPUOpen developer SDKs

Discover what our SDK technologies can offer you. Query hardware or software, manage memory, create rendering applications or machine learning, and much more!

AMD GPUOpen Developer Tools

Analyze, Optimize, Profile, Benchmark. We provide you with the developer tools you need to make sure your game is the best it can be!