nicegraf
|
Data Fields | |
const ngf_diagnostic_info * | diag_info |
const ngf_allocation_callbacks * | allocation_callbacks |
ngf_device_handle | device |
const ngf_renderdoc_info * | renderdoc_info |
nicegraf initialization parameters. See also: ngf_initialize.
const ngf_allocation_callbacks* ngf_init_info::allocation_callbacks |
Pointer to a structure specifying custom allocation callbacks, which the library shall use to manage CPU memory for internal use. If this pointer is set to NULL
, standard malloc and free are used.
ngf_device_handle ngf_init_info::device |
Handle for the rendering device that nicegraf shall execute rendering commands on. A list of available device and their handles can be obtained with ngf_enumerate_devices.
const ngf_diagnostic_info* ngf_init_info::diag_info |
Pointer to a structure containing a diagnostic log configuration. If this pointer is set to NULL
, no diagnostic callback shall be invoked.
const ngf_renderdoc_info* ngf_init_info::renderdoc_info |
Pointer to a structure containing RenderDoc API configuration. If this pointer is set to NULL
, the RenderDoc API will not be initialized.