OMNI_DEFINE_INTERFACE_API

Defined in omni/core/OmniAttr.h

OMNI_DEFINE_INTERFACE_API(iface_)

Used to extend the omni.bind generated API layer.

This macro handles the class line of a C++ class. Use this macro in the following manner:

OMNI_DEFINE_INTERFACE_API(omni::windowing::IWindow)
{
public:
   inline ObjectPtr<input::IKeyboardOnEventConsumer> getConsumer() noexcept
   { /* ... */ }
};