mirror of
https://github.com/sinbad/StevesUEHelpers.git
synced 2025-02-23 17:45:23 +00:00
In UE5 FGCObjects must implement GetReferencerName()
This commit is contained in:
parent
b7596fb71a
commit
850d817666
@ -50,6 +50,13 @@ void FStevesTextureRenderTargetPool::AddReferencedObjects(FReferenceCollector& C
|
||||
Collector.AddReferencedObjects(UnreservedTextures);
|
||||
}
|
||||
|
||||
#if ENGINE_MAJOR_VERSION >= 5
|
||||
FString FStevesTextureRenderTargetPool::GetReferencerName() const
|
||||
{
|
||||
return "FStevesTextureRenderTargetPool";
|
||||
}
|
||||
#endif
|
||||
|
||||
FStevesTextureRenderTargetReservationPtr FStevesTextureRenderTargetPool::ReserveTexture(FIntPoint Size,
|
||||
ETextureRenderTargetFormat Format, const UObject* Owner)
|
||||
{
|
||||
|
@ -110,7 +110,11 @@ public:
|
||||
|
||||
// FGCObject
|
||||
virtual void AddReferencedObjects(FReferenceCollector& Collector) override;
|
||||
|
||||
|
||||
#if ENGINE_MAJOR_VERSION >= 5
|
||||
// FGCObject
|
||||
virtual FString GetReferencerName() const override;
|
||||
#endif
|
||||
/**
|
||||
* Reserve a texture for use as a render target. This will create a new texture target if needed.
|
||||
* @param Size The dimensions of the texture
|
||||
|
Loading…
x
Reference in New Issue
Block a user