Prod.: Engine, ver.: 6014, ID: 60000823, Wish : An application settings to select a user pixel format for OpenGL

Wish : An application settings to select a user pixel format for OpenGL

Article60000823
TypeWish
ProductEngine
Version6014
Date Added3/19/2009
FixedYes [3/22/2009]
Submitted byMarc Seguin
Keywords

Subject

An application settings to select a user pixel format for OpenGL

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.