fg_gethcbpp()Win32 DirectX Fastgraph/Light Prototype int fg_gethcbpp (void); Function fg_gethcbpp () As Long function fg_gethcbpp : integer; Description The fg_gethcbpp() function returns the color depth for high color virtual buffers. Parameters none Return value The color depth in bits per pixel. For Fastgraph's native libraries and windowed DirectX programs, the color depth will always be 16. For full screen DirectX programs, the color depth will be 15 for the 5/5/5 high color pixel format, or 16 for the 5/6/5 high color format. Restrictions For full screen DirectX programs, the fg_gethcbpp() return value is meaningful only after calling fg_vbinit() and only if the fg_ddsetup() color depth parameter was 16. See also
|
 
copyright 2001 Ted Gruber Software, Inc.