Files
UnrealEngine/Engine/Source/Runtime/Renderer/Internal/MaterialCache/MaterialCacheStack.h
2025-05-18 13:04:45 +08:00

20 lines
435 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/Array.h"
class FMaterialRenderProxy;
struct FMaterialCacheStackEntry
{
/** The material to be rendered on top of the proxy */
const FMaterialRenderProxy* Material = nullptr;
};
struct FMaterialCacheStack
{
/** All material stacks to be composited, respects the given order */
TArray<FMaterialCacheStackEntry, TInlineAllocator<8u>> Stack;
};