SilverScreen Solid Modeler

SS_OPENGL_INFO        

SS_OPENGL_INFO        

Previous topic Next topic  

SS_OPENGL_INFO        

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

SS_OPENGL_INFO

 

Structure

A data type that is used to store information retrieved about the OpenGL rendering environment

 

 

 struct SS_OPENGL_INFO

    {

    int driver_type;    // GLIT_HARDWARE_DRIVER, GLIT_GENERIC_DRIVER

 

    char vendor[256];   // i.e. "ATI Technologies Inc."

    char driver[256];   // i.e. "Radeon X600 PRO x86/SSE2"

    char version[256];  // i.e. "2.0.5885 WinXP Release"

 

    int glsl_supported;                  // Is OpenGL Shading Language

                                         // supported?

 

    int pbuffers_supported;              // Are OpenGL Pixel Buffers

                                         // supported?

 

    int parallel_shadows_supported;      // Are shadows supported in

                                         // parallel views?

 

    int perspective_shadows_supported;   // Are shadows supported in

                                         // perspective views?

 

    int reflections_supported;           // Are extensions which support

                                         // reflections present?

    } ;

 

 


Members

Member

Description

driver_type

A value that describes the quality of the OpenGL driver. Possible values are shown in the table below this table.

vendor

Hardware vendor of the OpenGL driver (i.e. "ATI Technologies Inc.")

driver

Name of the OpenGL driver (i.e. "Radeon x600 PRO x86/SSe2")

version

A version string associated with the OpenGL driver (i.e. "2.0.5885 WinXP Release")

glsl_supported

OpenGL Shading Language is supported if non-zero

pbuffers_supported

OpenGL pixel buffers are supported if non-zero

parallel_shadows_supported

OpenGL shadows are supported in parallel views if non-zero

perspective_shadows_supported

OpenGL shadows are supported in perspective views if non-zero

reflections_supported

OpenGL extensions that support reflections are supported if non-zero

 

driver_type settings:

 

Constant

Meaning

GLIT_HARDWARE_DRIVER

The driver is a hardware accelerated driver

GLIT_GENERIC_DRIVER

The driver is a software-based driver with poor OpenGL support

GLIT_GENERIC_ACCELERATED_DRIVER

The driver is a software-based driver partially accelerated by hardware.

 

 

See Also

get_opengl_info

 

Header

silver.h