DirectX11

Description

Name

class Tinman.Graphics.DirectX11

Derived from

Graphics

Graphics context factory for DirectX 11.

Fields / Optional

repository

Type

path

Constraint

# != null

Default

<?>

Path to the public repository of shared GPU shaders or the unknown path <?> to only use private GPU shader repositories.


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 (zero-based).


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.

Fields / External

adapters

Type

string[]

The human-readable name of each graphics adapter:

#n: ...

where n is the zero-based adapter ordinal and …​ is the adapter name.