60000823 An application settings to select a user pixel format for OpenGL

Article 60000823
Type Wish
Product Engine
Version 6014
Date Added 3/19/2009 12:00:00 AM
Fixed (3/22/2009 12:00:00 AM)
Submitted by Marc Seguin

Summary

An application settings to select a user pixel format for OpenGL

Solution

A new application/ project vdrawgl with code source was added in 6015.

In order to change the selected pixel format into a user specific value must be used the global properties of :

VectorDraw.Render.OpenGL.OpenGLImports.PIXELFORMATDESCRIPTOR.DefaultWindowPixelFormat , when the ActiveDocument.GlobalRenderProperties.UseControlWindow = true

and

VectorDraw.Render.OpenGL.OpenGLImports.PIXELFORMATDESCRIPTOR.DefaultBitmapPixelFormat , when the ActiveDocument.GlobalRenderProperties.UseControlWindow = false

These values by default are zero(0) and Vectordraw serach in positive order for the first valid pixel format.

Send comments on this topic.