Files
UnrealEngine/Engine/Source/Runtime/Renderer/Private/AmbientCubemapParameters.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

22 lines
931 B
C

// Copyright Epic Games, Inc. All Rights Reserved.
/*=============================================================================
AmbientCubemapParameters.h: Shared shader parameters for ambient cubemap
=============================================================================*/
#pragma once
#include "CoreMinimal.h"
#include "FinalPostProcessSettings.h"
#include "ShaderParameterMacros.h"
/** Shader parameters needed for deferred passes sampling the ambient cube map. */
BEGIN_SHADER_PARAMETER_STRUCT(FAmbientCubemapParameters, )
SHADER_PARAMETER(FLinearColor, AmbientCubemapColor)
SHADER_PARAMETER(FVector4f, AmbientCubemapMipAdjust)
SHADER_PARAMETER_TEXTURE(TextureCube, AmbientCubemap)
SHADER_PARAMETER_SAMPLER(SamplerState, AmbientCubemapSampler)
END_SHADER_PARAMETER_STRUCT()
void SetupAmbientCubemapParameters(const FFinalPostProcessSettings::FCubemapEntry& Entry, FAmbientCubemapParameters* OutParameters);