DirectX12

Description

Name

class Tinman.Graphics.DirectX12

Derived from

Graphics

Graphics context factory for DirectX 12.

Fields / Required

repository

Type

path

Path to the repository of compiled shader binaries.

Fields / Optional

multisample

Type

Multisample

Default

{Multisample}

The multisampling settings to use.


vsync

Type

bool

Default

true

Enable V-Sync?


memory

Type

number

Default

0

The estimated total amount of GPU memory (dedicated + shared), in megabytes. If 0, the memory amount will be determined automatically. If this is not possible, the memory amount will be set to 2048.


adapter

Type

number

Default

0

The graphics adapter ordinal.


limit

Type

number

Default

0

The maximum size of a single texture resource in video memory, in megabytes. If 0, the maximum size will be determined automatically. If this is not possible, the maximum size will be set to 2048.