AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
ARenderingContextOptions Struct Reference

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

Detailed Description

Defines rendering API priority and options for your application.

By default, AUI uses the following settings:

ARenderingContextOptions::set({
OpenGL {},
Software {},
});

{cpp} 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.

Classes

struct  DirectX11
 
struct  OpenGL
 
struct  Software
 

Public Types

using InitializationVariant = std::variant< DirectX11, OpenGL, Software >
 

Static Public Member Functions

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

Signals and public fields

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

#include <AUI/Platform/ARenderingContextOptions.h>


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