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 () const
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

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

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)

Member Function Documentation

◆ isSignedIntNormalizationSymmetric()

bool inviwo::OpenGLCapabilities::isSignedIntNormalizationSymmetric ( )
static

The conversion from normalized fixed-point integers to floating-point values and back was changed to use a symmetric range in OpenGL 4.2. That is the range [-127, 127] is used for the normalization of 8bit signed integers instead of [-128, 127].

See also
DataMapper::SignedNormalization
OpenGL 4.6 specification, Section 2.3.5 Fixed-Point Data Conversion

◆ 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:
  • openglcapabilities.h