Static Public Member Functions

SoOD Class Reference

A function that initiases the OpendTect Inventor classes. More...

List of all members.

Static Public Member Functions

static int supportsFragShading ()
static int supportsVertexShading ()
static int maxNrTextureUnits ()
static void getLineWidthBounds (int &min, int &max)

Detailed Description

A function that initiases the OpendTect Inventor classes.


Member Function Documentation

static void SoOD::getLineWidthBounds ( int &  min,
int &  max 
) [static]

Get the bounds of the line width, which are OpenGL-dependent.

static int SoOD::maxNrTextureUnits (  )  [static]

If not know, function will return 1.

static int SoOD::supportsFragShading (  )  [static]
Return values:
-1 not supported
0 don't know
1 supported
static int SoOD::supportsVertexShading (  )  [static]
Return values:
-1 not supported
0 don't know
1 supported