FRHIViewport::GetNativeSwapChain

Returns access to the platform-specific native resource pointer.

Choose your operating system:

Windows

macOS

Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHIResources.h

Include

#include "RHIResources.h"

Syntax

virtual void * GetNativeSwapChain() const

Remarks

Returns access to the platform-specific native resource pointer. This is designed to be used to provide plugins with access to the underlying resource and should be used very carefully or not at all.

Returns

The pointer to the native resource or NULL if it not initialized or not supported for this resource type for some reason