Graphics

Description

Name

abstract class Tinman.Graphics

Extended by

DirectX11 / DirectX12 / DirectX9 / OpenGL

A factory for graphics contexts.

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 1024.


adapter

Type

number

Default

0

The graphics adapter ordinal.