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/gf/dev_guide/api/gf_3d_target_create.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/gf/dev_guide/api/gf_3d_target_create.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/gf/dev_guide/api/gf_3d_target_create.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/gf/dev_guide/api/gf_3d_target_create.html on line 8
Create a target for 3D rendering
#include <gf3d.h>
int gf_3d_target_create( gf_3d_target_t * ptarget,
gf_layer_t layer,
gf_surface_t * surfaces,
int nsurfaces,
int width,
int height,
gf_format_t format );
- ptarget
- A pointer to a gf_3d_target_t handle for a 3D rendering target which you want to create.
- layer
- The layer used to display the 3D content.
- surfaces
- An array of preallocated surfaces for 3D rendering. If NULL, the function allocates the required surfaces.
- nsurfaces
- The number of items in the surfaces array.
- width, height
- The width and height, in pixels, of the viewport for the displayed 3D content.
- format
- The gf_format_t format of the data in the 3D color buffer displayed on the layer.
gf
This function creates a 3D rendering target.
- GF_ERR_OK
- Success.
- GF_ERR_MEM
- Memory allocation failure.
QNX Graphics Framework
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
gf_3d_query_config(),
gf_3d_target_free()
Using OpenGL ES and OpenVG
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/gf/dev_guide/api/gf_3d_target_create.html on line 145
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/gf/dev_guide/api/gf_3d_target_create.html on line 145