UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
OITParameters.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "RendererInterface.h"
7#include "ShaderParameters.h"
9
10// Uniform buffer used for translucent material shader
14 SHADER_PARAMETER(uint32, MaxSideSamplePerPixel)
15 SHADER_PARAMETER(uint32, MaxSamplePerPixel)
16 SHADER_PARAMETER(float, TransmittanceThreshold)
20
21class FViewInfo;
23
24namespace OIT
25{
27}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define BEGIN_SHADER_PARAMETER_STRUCT(StructTypeName, DllStorage)
Definition ShaderParameterMacros.h:1482
#define SHADER_PARAMETER_RDG_TEXTURE_UAV(ShaderType, MemberName)
Definition ShaderParameterMacros.h:1788
#define END_SHADER_PARAMETER_STRUCT()
Definition ShaderParameterMacros.h:1485
#define SHADER_PARAMETER(MemberType, MemberName)
Definition ShaderParameterMacros.h:1684
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition RenderGraphBuilder.h:49
Definition SceneRendering.h:1132
Definition BasePassRendering.h:52
void SetOITParameters(FRDGBuilder &GraphBuilder, const FViewInfo &View, FOITBasePassUniformParameters &OutOIT, const FOITData &InOITData)
Definition OIT.cpp:1012
Definition OIT.h:51