27 lines
646 B
Objective-C
27 lines
646 B
Objective-C
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "HAL/Platform.h"
|
|
|
|
#if PLATFORM_VISIONOS
|
|
#include "RHIFwd.h"
|
|
#import <CompositorServices/CompositorServices.h>
|
|
|
|
DECLARE_LOG_CATEGORY_EXTERN(LogMetalVisionOS, Warning, All);
|
|
|
|
namespace MetalRHIVisionOS
|
|
{
|
|
METALRHI_API struct PresentImmersiveParams
|
|
{
|
|
const FTextureRHIRef& Texture;
|
|
const FTextureRHIRef& Depth;
|
|
cp_frame_t& SwiftFrame;
|
|
cp_drawable_t& SwiftDrawable;
|
|
int FrameCounter;
|
|
class IRHICommandContext* RHICommandContext;
|
|
};
|
|
METALRHI_API void PresentImmersive(const PresentImmersiveParams* Params);
|
|
}
|
|
#endif // PLATFORM_VISIONOS
|