## siGraphicDriver

### Introduced

v9.0 (2011)

### Description

Enumerates the supported graphics drivers.

### C# Syntax

    siGraphicDriver.siNullGraphicDriver                                         // 0

    siGraphicDriver.siOpenGL20                                                  // 1

    siGraphicDriver.siOpenGL30                                                  // 2

    siGraphicDriver.siDirectX9                                                  // 3

    siGraphicDriver.siDirectX10                                                 // 4

Constant | Value | Description
--- | --- | ---
siNullGraphicDriver | 0 | No video driver
siOpenGL20 | 1 | OpenGL 2.0
siOpenGL30 | 2 | OpenGL 3.0
siDirectX9 | 3 | DirectX 9
siDirectX10 | 4 | DirectX 10

### Applies To

GraphicDriver::GetGraphicDriverType HardwareSurface::Options::PutGraphicDriver HardwareShaderContext::DrawPrimitive HardwareShaderContext::DrawScreenAlignedQuad CGraphicSequencer::RegisterViewportMode CGraphicSequencer::RegisterViewportCallback