Get the current video mode
int PgGetVideoMode( PgDisplaySettings_t *settings );
ph
This function gets the current video mode, storing information about it in the PgDisplaySettings_t structure pointed to by settings, which includes at least the following:
You must target this function at a specific card by calling PdSetTargetDevice(). PgGetVideoMode() blocks until the operation is complete. |
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PdSetTargetDevice(), PgGetGraphicsHWCaps(), PgGetVideoModeInfo(), PgGetVideoModeList(), PgSetVideoMode()
“Video modes” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide