Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pggetvideomodelist.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pggetvideomodelist.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pggetvideomodelist.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pggetvideomodelist.html on line 8
Query a graphics driver for a list of its supported video modes
int PgGetVideoModeList( PgVideoModes_t *mode_list );
ph
This function queries the graphics driver for a list of video modes that
it supports. The list is an array of short entries that
represent mode numbers that the drivers use to identify a video mode.
|
You must target this function at a specific card by calling
PdSetTargetDevice().
PgGetVideoModeList() blocks until the operation is complete. |
The mode_info argument is a pointer to a
PgVideoModes_t structure in which to store the mode information.
This structure has at least the following members:
- unsigned short num_modes
- The number of modes in the list.
- unsigned short modes[127]
- The mode list.
- 0
- Success.
- -1
- An error occurred.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PdSetTargetDevice(),
PgGetGraphicsHWCaps(),
PgGetVideoMode(),
PgGetVideoModeInfo(),
PgSetVideoMode()
“Video modes”
in the Raw Drawing and Animation chapter of the
Photon Programmer's Guide
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pggetvideomodelist.html on line 136
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pggetvideomodelist.html on line 136