Skip to content

ARenderingContextOptions#

Defines rendering API priority and options for your application.

Header:#include <AUI/Platform/ARenderingContextOptions.h>
CMake:aui_link(my_target PUBLIC aui::views)

Detailed Description#

By default, AUI uses the following settings:

ARenderingContextOptions::set({
   OpenGL {},
   Software {},
});
You may call this before initializating windows in order to define your own settings and priorities.

The priority can be overridden by --aui-renderer=GRAPHICS_API argument passed to your application.

Public Types#

DirectX11#


struct ARenderingContextOptions::DirectX11

Empty structure.

OpenGL#


struct ARenderingContextOptions::OpenGL

Empty structure.

Software#


struct ARenderingContextOptions::Software

Empty structure.