Inviwo  0.9.10.1
Inviwo documentation
inviwo::OpenGLCapabilities Class Reference
+ Inheritance diagram for inviwo::OpenGLCapabilities:

Classes

class  GLSLShaderVersion
 

Public Types

enum  GlVendor { Nvidia, Amd, Intel, Unknown }
 

Public Member Functions

 OpenGLCapabilities (OpenGLSettings *settings)
 
virtual void printInfo () override
 
void printDetailedInfo ()
 
bool isTexturesSupported () const
 
bool is3DTexturesSupported () const
 
bool isTextureArraysSupported () const
 
bool isFboSupported () const
 
bool isShadersSupported () const
 
bool isShadersSupportedARB () const
 
bool isGeometryShadersSupported () const
 
bool isComputeShadersSupported () const
 
GLSLShaderVersion getCurrentShaderVersion ()
 
size_t getCurrentShaderIndex () const
 
size_t getNumberOfShaderVersions () const
 
GLSLShaderVersion getShaderVersion (size_t ind) const
 
glm::u64 getCurrentAvailableTextureMem ()
 
glm::u64 getTotalAvailableTextureMem ()
 
const std::string & getRenderString () const
 
const std::string & getVendorString () const
 
const std::string & getGLVersionString () const
 
const std::string & getGLSLVersionString () const
 
GlVendor getVendor () const
 
int getMaxProgramLoopCount () const
 
int getMaxTexSize () const
 
int getMax3DTexSize () const
 
int getMaxArrayTexSize () const
 
int getMaxArrayVertexAttribs () const
 
int getMaxColorAttachments () const
 
int getNumTexUnits () const
 
bool setPreferredProfile (std::string, bool)
 

Static Public Member Functions

static void initializeGLEW ()
 
static int getOpenGLVersion ()
 
static bool hasSupportedOpenGLVersion ()
 
static bool hasOpenGLVersion ()
 
static bool isExtensionSupported (const char *)
 
static bool isSupported (const char *)
 
static std::string getPreferredProfile ()
 

Protected Member Functions

virtual void retrieveStaticInfo () override
 
virtual void retrieveDynamicInfo () override
 
void addShaderVersion (GLSLShaderVersion)
 
void addShaderVersionIfEqualOrLower (GLSLShaderVersion, int)
 
void parseAndAddShaderVersion (std::string, int)
 

Static Protected Member Functions

static int parseAndRetrieveVersion (std::string)
 

The documentation for this class was generated from the following files: