OGRE-Next 3.0.0
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
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

References build, major, minor, and release.

Member Function Documentation

◆ fromString()

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

◆ hasMinVersion() [1/2]

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

References major, and minor.

◆ hasMinVersion() [2/2]

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

References major, minor, and release.

◆ toString()

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

Member Data Documentation

◆ build

int Ogre::DriverVersion::build

◆ major

◆ minor

◆ release


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