VGetVisual
Name
VGetVisual - returns the current visual class used by 3DVIEWNIX.
Synopsis
VGetVisual(visual_to_use)
Visual **visual_to_use; /*RETURN*/
Description
VGetVisual returns the pointer of the current visual used by 3DVIEWNIX
to *visual_to_use.
Return Value
0 - work successfully.
Parameters
visual_to_use - returns a pointer to the Visual structure.
Side Effects
None.
Entry Conditions
If visual_to_use is NULL, or VSetVisualClass is not called earlier,
VGetVisual prints an error message to the standard error stream, produces
a core dump file and exits from the current process.
Related Functions
VSetVisualClass,
VCreateColormap.