NvGfxAPIVersion Struct Reference

Representation of a graphics API and version. More...

#include <NvGfxAPI.h>

Inheritance diagram for NvGfxAPIVersion:

NvGfxAPIVersionES2 NvGfxAPIVersionES3 NvGfxAPIVersionGL4 NvGfxAPIVersionGL4_3 NvGfxAPIVersionGL4_4

List of all members.

Public Member Functions

 NvGfxAPIVersion (NvGfxAPI::Enum _api, int32_t _majVersion, int32_t _minVersion=0)
bool operator< (const NvGfxAPIVersion &rhs) const
bool operator<= (const NvGfxAPIVersion &rhs) const
bool operator> (const NvGfxAPIVersion &rhs) const
bool operator>= (const NvGfxAPIVersion &rhs) const
bool operator== (const NvGfxAPIVersion &rhs) const
bool operator!= (const NvGfxAPIVersion &rhs) const

Public Attributes

NvGfxAPI::Enum api
 The high-level API.
int32_t majVersion
 The major version (X.0).
int32_t minVersion
 The minor version (0.Y).


Detailed Description

Representation of a graphics API and version.

Includes basic comparisons between objects


Member Function Documentation

bool NvGfxAPIVersion::operator!= ( const NvGfxAPIVersion rhs  )  const [inline]

Compare two APIs and versions. OpenGL ES is considered to be "less than" OpenGL If the APIs match, then the major and minor versions are compared

bool NvGfxAPIVersion::operator< ( const NvGfxAPIVersion rhs  )  const [inline]

Compare two APIs and versions. OpenGL ES is considered to be "less than" OpenGL If the APIs match, then the major and minor versions are compared

bool NvGfxAPIVersion::operator<= ( const NvGfxAPIVersion rhs  )  const [inline]

Compare two APIs and versions. OpenGL ES is considered to be "less than" OpenGL If the APIs match, then the major and minor versions are compared

bool NvGfxAPIVersion::operator== ( const NvGfxAPIVersion rhs  )  const [inline]

Compare two APIs and versions. OpenGL ES is considered to be "less than" OpenGL If the APIs match, then the major and minor versions are compared

bool NvGfxAPIVersion::operator> ( const NvGfxAPIVersion rhs  )  const [inline]

Compare two APIs and versions. OpenGL ES is considered to be "less than" OpenGL If the APIs match, then the major and minor versions are compared

bool NvGfxAPIVersion::operator>= ( const NvGfxAPIVersion rhs  )  const [inline]

Compare two APIs and versions. OpenGL ES is considered to be "less than" OpenGL If the APIs match, then the major and minor versions are compared


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