OpenGL

Description

Name

class Tinman.Graphics.OpenGL

Derived from

Graphics

Graphics context factory for OpenGL 4.1 Core Profile (or newer).

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.


plain

Type

bool

Default

false

Use plain GL mode, i.e. only base API version and no extensions?