OMNI_USE_FROM_GENERATED_API
Defined in omni/core/OmniAttr.h
-
OMNI_USE_FROM_GENERATED_API(iface_, func_)
Used in cases when defined interface provides an overload for a function from generated API.
In those situations generated API becomes unavailable and member function from generated API has to be introduced explicitly:
OMNI_DEFINE_INTERFACE_API(omni::windowing::IWindow) { public: OMNI_USE_FROM_GENERATED_API(omni::windowing::IWindow, overloadedFunction) void overloadedFunction(int overloadedArg) { } };