Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

34 lines
1.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "KismetCompilerModule.h"
#include "KismetCompiler.h"
namespace UE::RenderGrid
{
/**
* A IBlueprintCompiler child class for the RenderGrid modules.
*
* Required in order for a RenderGrid to be able to have a blueprint graph.
*/
class RENDERGRIDDEVELOPER_API FRenderGridBlueprintCompiler : public IBlueprintCompiler
{
public:
//~ Begin IBlueprintCompiler Interface
virtual bool CanCompile(const UBlueprint* Blueprint) override;
virtual void Compile(UBlueprint* Blueprint, const FKismetCompilerOptions& CompileOptions, FCompilerResultsLog& Results) override;
//~ End IBlueprintCompiler Interface
};
class RENDERGRIDDEVELOPER_API FRenderGridBlueprintCompilerContext : public FKismetCompilerContext
{
public:
FRenderGridBlueprintCompilerContext(UBlueprint* SourceSketch, FCompilerResultsLog& InMessageLog, const FKismetCompilerOptions& InCompilerOptions)
: FKismetCompilerContext(SourceSketch, InMessageLog, InCompilerOptions)
{}
};
}