Ogre::DriverVersion Struct Reference
Core » RenderSystem

DriverVersion is used by RenderSystemCapabilities and both GL and D3D9 to store the version of the current GPU driver. More...

`#include <OgreRenderSystemCapabilities.h>`

## Public Member Functions

| DriverVersion ()
void | fromString (const String &versionString)
String | toString () const

## Public Attributes

int | build
int | major
int | minor
int | release

## Detailed Description

DriverVersion is used by RenderSystemCapabilities and both GL and D3D9 to store the version of the current GPU driver.

Definition at line 215 of file OgreRenderSystemCapabilities.h.

## Constructor & Destructor Documentation

## DriverVersion()

Ogre::DriverVersion::DriverVersion | ( |  | ) |

Definition at line 222 of file OgreRenderSystemCapabilities.h.

## Member Function Documentation

## fromString()

void Ogre::DriverVersion::fromString | ( | const String & | versionString | ) |

Definition at line 234 of file OgreRenderSystemCapabilities.h.

References Ogre::StringConverter::parseInt(), and Ogre::StringUtil::split().

Referenced by Ogre::RenderSystemCapabilities::parseDriverVersionFromString().

## toString()

String Ogre::DriverVersion::toString | ( |  | ) | const

Definition at line 227 of file OgreRenderSystemCapabilities.h.

## Member Data Documentation

## build

int Ogre::DriverVersion::build

Definition at line 220 of file OgreRenderSystemCapabilities.h.

Referenced by Ogre::RenderSystemCapabilities::isDriverOlderThanVersion().

## major

int Ogre::DriverVersion::major

Definition at line 217 of file OgreRenderSystemCapabilities.h.

Referenced by Ogre::RenderSystemCapabilities::isDriverOlderThanVersion().

## minor

int Ogre::DriverVersion::minor

Definition at line 218 of file OgreRenderSystemCapabilities.h.

Referenced by Ogre::RenderSystemCapabilities::isDriverOlderThanVersion().

## release

int Ogre::DriverVersion::release

Definition at line 219 of file OgreRenderSystemCapabilities.h.

Referenced by Ogre::RenderSystemCapabilities::isDriverOlderThanVersion().

The documentation for this struct was generated from the following file:

- OgreRenderSystemCapabilities.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.