clan::DisplayTarget Class Reference - ClanLib SDK
Description: clan::DisplayTarget Class Reference

Static Public Member Functions | List of all members
clan::DisplayTarget Class Reference
clanDisplay Display

Display target for clanDisplay. More...

`#include <display_target.h>`

## Static Public Member Functions
static const std::shared_ptr< DisplayTargetProvider > & | get_current_target ()
| Returns the currently selected display target.
static void | set_current_target (const std::shared_ptr< DisplayTargetProvider > &target)
| Sets the currently selected display target.

## Detailed Description

Display target for clanDisplay.

Controls which target is used for window creation

## Member Function Documentation

## ◆ get_current_target()

static const std::shared_ptr< DisplayTargetProvider > & clan::DisplayTarget::get_current_target | ( |  | ) |
| static

Returns the currently selected display target.

## ◆ set_current_target()

static void clan::DisplayTarget::set_current_target | ( | const std::shared_ptr< DisplayTargetProvider > & | target | ) |
| static

Sets the currently selected display target.

The documentation for this class was generated from the following file:

- display_target.h