Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::OpenGLCapabilities Class Reference
+ Inheritance diagram for inviwo::OpenGLCapabilities:

Classes

class  GLSLShaderVersion
 

Public Types

enum class  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
 
GLSLShaderVersion getCurrentShaderVersion ()
 
size_t getCurrentShaderIndex () const
 
size_t getNumberOfShaderVersions () const
 
GLSLShaderVersion getShaderVersion (size_t ind) const
 
size_t getCurrentAvailableTextureMem ()
 
size_t getTotalAvailableTextureMem ()
 
const std::string & getRenderString () const
 
const std::string & getVendorString () const
 
const std::string & getProfileString () 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
 
- Public Member Functions inherited from inviwo::Capabilities

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 bool isComputeShadersSupported ()
 
static bool isShaderStorageBuffersSupported ()
 

Protected Member Functions

virtual void retrieveStaticInfo () override
 
virtual void retrieveDynamicInfo () override
 
void addShaderVersion (GLSLShaderVersion)
 
void addShaderVersionIfEqualOrLower (GLSLShaderVersion, int)
 
void parseAndAddShaderVersion (std::string, int)
 
- Protected Member Functions inherited from inviwo::Capabilities

Static Protected Member Functions

static int parseAndRetrieveVersion (std::string)
 

Member Function Documentation

◆ printInfo()

virtual void inviwo::OpenGLCapabilities::printInfo ( )
overridevirtual

Implements inviwo::Capabilities.

◆ retrieveDynamicInfo()

virtual void inviwo::OpenGLCapabilities::retrieveDynamicInfo ( )
overrideprotectedvirtual

Implements inviwo::Capabilities.

◆ retrieveStaticInfo()

virtual void inviwo::OpenGLCapabilities::retrieveStaticInfo ( )
overrideprotectedvirtual

Implements inviwo::Capabilities.


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