GpaInitialize
Syntax
Description
Initializes the driver so that counters are exposed. This function must be called before the rendering context or device is created. In the case of DirectX 12 or Vulkan, this function must be called before a queue is created.
Parameters
Name |
Description |
---|---|
|
Flags used to initialize GPA. This should be a combination of GpaInitializeBits. |
Return value
Return value |
Description |
---|---|
kGpaStatusOk |
GPA was destroyed. |
kGpaStatusErrorGpaAlreadyInitialized |
GpaInitialize was already called. |
kGpaStatusErrorInvalidParameter |
The |
kGpaStatusErrorException |
Exception occurred. |