 |
Index for Section 9 |
|
 |
Alphabetical listing for W |
|
 |
Bottom of page |
|
ws_visual_descriptor(9s)
NAME
ws_visual_descriptor - Graphics: Used by the display driver to describe the
visual classes that the graphics display supports
SYNOPSIS
typedef struct {
short screen;
short which_visual;
short screen_class;
short depth;
u_long red_mask, green_mask, blue_mask;
short bits_per_rgb;
int color_map_entries;
} ws_visual_descriptor;
MEMBERS
screen
Specifies the screen associated with this visual descriptor.
which_visual
Specifies the visual number.
screen_class
Specifies the visual class:StaticGray, GrayScale, StaticColor,
PseudoColor, TrueColor, or DirectColor.
depth
Specifies the number of bits per pixel for this visual.
red_mask, green_mask, blue_mask
Specify the red, green, and blue masks for a given visual class.
bits_per_rgb
Specifies the number of significant bits in the color cell that are
used to store red, green, and blue colors.
color_map_entries
Specifies the number of colors in the colormap.
DESCRIPTION
The ws_visual_descriptor data structure defines the characteristics of one
server visual class. You usually create an array of these structures to
define each of the visual classes that the graphics display supports.
FILES
<sys/workstation.h>
SEE ALSO
Data Structures: ws_screens(9s)
 |
Index for Section 9 |
|
 |
Alphabetical listing for W |
|
 |
Top of page |
|