IOpenXRExtensionPlugin::OnCreateInstance

Callbacks with returned pointer added to next chain, do _not_ return pointers to structs on the stack.

Windows
MacOS
Linux

References

Module

OpenXRHMD

Header

/Engine/Plugins/Runtime/OpenXR/Source/OpenXRHMD/Public/IOpenXRExtensionPlugin.h

Include

#include "IOpenXRExtensionPlugin.h"

Syntax

virtual const void * OnCreateInstance
(
    class IOpenXRHMDPlugin * InPlugin,
    const void * InNext
)

Remarks

Callbacks with returned pointer added to next chain, do not return pointers to structs on the stack. Remember to assign InNext to the next pointer of your struct or otherwise you may break the next chain.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss