OGRE-Next  3.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::DriverVersion Struct Reference

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)
 
bool hasMinVersion (int minMajor, int minMinor) const
 
bool hasMinVersion (int minMajor, int minMinor, int minRel) const
 
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.

Constructor & Destructor Documentation

◆ DriverVersion()

Ogre::DriverVersion::DriverVersion ( )
inline

Member Function Documentation

◆ fromString()

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

◆ hasMinVersion() [1/2]

bool Ogre::DriverVersion::hasMinVersion ( int  minMajor,
int  minMinor 
) const
inline

◆ hasMinVersion() [2/2]

bool Ogre::DriverVersion::hasMinVersion ( int  minMajor,
int  minMinor,
int  minRel 
) const
inline

◆ toString()

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

Member Data Documentation

◆ build

int Ogre::DriverVersion::build

◆ major

int Ogre::DriverVersion::major

◆ minor

int Ogre::DriverVersion::minor

◆ release

int Ogre::DriverVersion::release

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