NvGLAPIVersion Struct Reference

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

#include <NvGLAPI.h>

Inheritance diagram for NvGLAPIVersion:

NvGLAPIVersionES2 NvGLAPIVersionES3 NvGLAPIVersionES3_1 NvGLAPIVersionGL4 NvGLAPIVersionGL4_3 NvGLAPIVersionGL4_4

List of all members.

Public Member Functions

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

Public Attributes

NvGLAPI::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 NvGLAPIVersion::operator!= ( const NvGLAPIVersion 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 NvGLAPIVersion::operator< ( const NvGLAPIVersion 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 NvGLAPIVersion::operator<= ( const NvGLAPIVersion 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 NvGLAPIVersion::operator== ( const NvGLAPIVersion 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 NvGLAPIVersion::operator> ( const NvGLAPIVersion 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 NvGLAPIVersion::operator>= ( const NvGLAPIVersion 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: