You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
0f0464a30e
#rnx #rb none #ROBOMERGE-OWNER: ryan.durand #ROBOMERGE-AUTHOR: ryan.durand #ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900 #ROBOMERGE-BOT: (v613-10869866) [CL 10870549 by ryan durand in Main branch]
39 lines
973 B
C++
39 lines
973 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Rendering/RenderingCommon.h"
|
|
#include "Modules/ModuleInterface.h"
|
|
#include "Rendering/SlateRenderer.h"
|
|
#include "ISlate3DRenderer.h"
|
|
#include "Fonts/FontTypes.h"
|
|
|
|
namespace SlateRHIConstants
|
|
{
|
|
// Number of vertex and index buffers we swap between when drawing windows
|
|
const int32 NumBuffers = 3;
|
|
}
|
|
|
|
/**
|
|
* Interface for the Slate RHI Renderer module.
|
|
*/
|
|
class ISlateRHIRendererModule
|
|
: public IModuleInterface
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* Creates a Slate RHI renderer.
|
|
*
|
|
* @return A new renderer.
|
|
*/
|
|
virtual TSharedRef<FSlateRenderer> CreateSlateRHIRenderer( ) = 0;
|
|
|
|
virtual TSharedRef<ISlate3DRenderer, ESPMode::ThreadSafe> CreateSlate3DRenderer(bool bUseGammaCorrection) = 0;
|
|
|
|
virtual TSharedRef<ISlateFontAtlasFactory> CreateSlateFontAtlasFactory() = 0;
|
|
|
|
virtual TSharedRef<ISlateUpdatableInstanceBuffer> CreateInstanceBuffer( int32 InitialInstanceCount ) = 0;
|
|
};
|