SoHardwareQuery Class Reference

#include <LDM/nodes/SoHardwareQuery.h>

Inheritance diagram for SoHardwareQuery:
SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Types

enum  HW_Feature {
  HW_3DTEXMAP,
  HW_TEXCOLORMAP,
  HW_TEXCOMPRESSION
}
enum  HW_SupportStatus {
  NO,
  YES,
  UNKNOWN
}

Public Member Functions

virtual SoType getTypeId () const
 SoHardwareQuery ()

Static Public Member Functions

static SoType getClassTypeId ()
static HW_SupportStatus isSupported (HW_Feature feature)

Detailed Description


Member Enumeration Documentation

Enumerator:
HW_3DTEXMAP 

The system supports OpenGL 3D texture mapping.

On some boards, this query may return TRUE even if your board does not support accelerated 3D textures. In this case performance may be slow, and you may prefer to use 2D textures instead. Note: The inability to determine if 3D textures are accelerated is a limitation of OpenGL, not Open Inventor.

HW_TEXCOLORMAP 

The system supports the OpenGL paletted texture extension and/or the texture color table extension.

HW_TEXCOMPRESSION 

The system supports the OpenGL texture compression extension.

Enumerator:
NO 
YES 
UNKNOWN 

Constructor & Destructor Documentation

SoHardwareQuery::SoHardwareQuery (  ) 

Member Function Documentation

static SoType SoHardwareQuery::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoNode.

virtual SoType SoHardwareQuery::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoNode.

static HW_SupportStatus SoHardwareQuery::isSupported ( HW_Feature  feature  )  [static]

Returns information about hardware support for various volume rendering features.

This query is only valid after SoVolumeRendering::init has been called. Otherwise the return value will be UNKNOWN. When using a debug build of Open Inventor, some "no context available" warning messages may be generated. You can ignore them or see SoGLExtension for an example of using SoGLContext to avoid them.


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

Open Inventor Toolkit reference manual, generated on 12 Sep 2022
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/