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/pd/pdgetdevices.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/pd/pdgetdevices.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/pd/pdgetdevices.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/pd/pdgetdevices.html on line 8

PdGetDevices()

Get region IDs for the currently available draw devices

Synopsis:

int PdGetDevices( PhRid_t *rid_array,
                  uint32_t max_rids );

Arguments:

rid_array
An array that the function can fill with the region IDs of the currently available draw contexts.
max_rids
The number of entries in the array.

Library:

ph

Description:

PdGetDevices() fills the provided rid_array with up to max_rids region IDs of draw devices that are currently available.

Returns:

The number of draw devices currently available on the system. This value may be larger than max_rids, which indicates that the provided array isn't big enough to hold the region IDs for all the draw devices on the system.

Examples:

See PdCreateDirectContext().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PdSetTargetDevice()

Video memory offscreen 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/pd/pdgetdevices.html on line 117

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/pd/pdgetdevices.html on line 117