AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
ARenderingContextOptions Struct Reference

Defines rendering API priority and options for your application. More...

#include <AUI/Platform/ARenderingContextOptions.h>

Classes

struct  DirectX11
 
struct  OpenGL
 
struct  Software
 

Public Types

using InitializationVariant
 

Static Public Member Functions

static void set (ARenderingContextOptions options)
 
static const ARenderingContextOptionsget () noexcept
 

Signals and public fields

AVector< InitializationVariant > initializationOrder
 
ARenderContextFlags flags = ARenderContextFlags::DEFAULT
 

Detailed Description

Defines rendering API priority and options for your application.

By default, AUI uses the following settings:

ARenderingContextOptions::set({
OpenGL {},
Software {},
});
Definition ARenderingContextOptions.h:55

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.

Member Typedef Documentation

◆ InitializationVariant

using ARenderingContextOptions::InitializationVariant
Initial value:
std::variant<DirectX11,
Definition ARenderingContextOptions.h:51
Definition ARenderingContextOptions.h:64

The documentation for this struct was generated from the following files:
Collaboration diagram for ARenderingContextOptions: