ModuleExportEntryCarbIProfiler#

Fully qualified name: omni::core::ModuleExportEntryCarbIProfiler

Defined in omni/core/ModuleExports.h

struct ModuleExportEntryCarbIProfiler#

omni::core::ModuleExports entry to interop with carb::profiler::IProfiler.

Use the helper OMNI_MODULE_SET_EXPORTS to add this entry.

Public Functions

inline ModuleExportEntryCarbIProfiler(
const char *t,
ModuleExportEntryFlag f,
)#

Constructor.

Public Members

const char *type#

Unique type name describing the entry.

ModuleExportEntryFlag flags#

Special flags for the entry (ex: required).

uint32_t byteCount#

Size of the entry in bytes (including the header).

std::atomic<carb::profiler::IProfiler*> *profiler#

Pointer to the module’s g_carbProfiler.

carb::InterfaceDesc interfaceDesc#

Required version of carb::profiler::IProfiler.