Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRHIViewport
Description
Creates a platform-level native slate rendering layer for handling rendering order with platform-native views. This means that everything on top of the specified layer will be rendered to a different platform-level view than everything on the bottom of the specified layer. Right now this is only implemented in MetalRHI for macOS NSView interop with Slate.
| Name | CreateNativeLayer |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
virtual void CreateNativeLayer
(
int32 NewNativeLayer,
void * NativeViewHandle,
const TArray< TInterval< int32 > > & LayerRanges
)