premake/website/docs/dpiawareness.md
2021-03-12 22:10:24 +01:00

32 lines
709 B
Markdown

Sets the DPI awareness settings.
```lua
dpiawareness "value"
```
### Parameters ###
`value` is one of:
| Value | Description |
|----------------|------------------------------------------------------|
| Default | Use the toolset's default setting for DPI awareness. |
| None | Turn off DPI awareness. |
| High | Turn on DPI awareness. |
| HighPerMonitor | Turn on DPI awareness per monitor. |
### Applies To ###
Project configurations.
### Availability ###
Premake 5.0 or later.
### Examples ###
```lua
-- Turn on DPI awareness
dpiawareness "High"
```