UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
OIT.cpp File Reference
#include "OIT.h"
#include "DataDrivenShaderPlatformInfo.h"
#include "LocalVertexFactory.h"
#include "MeshBatch.h"
#include "OITParameters.h"
#include "Shader.h"
#include "GlobalShader.h"
#include "PrimitiveSceneProxy.h"
#include "ShaderParameters.h"
#include "ShaderParameterStruct.h"
#include "SceneTextureParameters.h"
#include "SceneRendering.h"
#include "ShaderCompilerCore.h"
#include "ShaderPrintParameters.h"
#include "ShaderPrint.h"
#include "ScreenPass.h"

Classes

class  FOITPixelDebugCS
 
class  FOITPixelCombineCS
 
class  FSortedIndexBuffer
 
class  FOITSortTriangleIndex_ScanCS
 
class  FOITSortTriangleIndex_AllocateCS
 
class  FOITSortTriangleIndex_WriteOutCS
 
class  FOITSortTriangleIndex_Debug
 
struct  FOITDebugData
 

Namespaces

namespace  OIT
 

Functions

 IMPLEMENT_GLOBAL_SHADER (FOITPixelDebugCS, "/Engine/Private/OITCombine.usf", "MainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FOITPixelCombineCS, "/Engine/Private/OITCombine.usf", "MainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FOITSortTriangleIndex_ScanCS, "/Engine/Private/OIT/OITSorting.usf", "MainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FOITSortTriangleIndex_AllocateCS, "/Engine/Private/OIT/OITSorting.usf", "MainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FOITSortTriangleIndex_WriteOutCS, "/Engine/Private/OIT/OITSorting.usf", "MainCS", SF_Compute)
 
 IMPLEMENT_GLOBAL_SHADER (FOITSortTriangleIndex_Debug, "/Engine/Private/OIT/OITSorting.usf", "MainCS", SF_Compute)
 
bool OIT::IsSortedTrianglesEnabled (EShaderPlatform InPlatform)
 
bool OIT::IsSortedPixelsEnabledForProject (EShaderPlatform InPlatform)
 
bool OIT::InternalIsSortedPixelsEnabled (EShaderPlatform InPlatform, bool bMSAA)
 
bool OIT::IsSortedPixelsEnabled (const FViewInfo &InView)
 
bool OIT::IsSortedPixelsEnabled (EShaderPlatform InPlatform)
 
bool OIT::IsSortedPixelsEnabledForPass (EOITPassType PassType)
 
bool OIT::IsCompatible (const FMeshBatch &InMesh, ERHIFeatureLevel::Type InFeatureLevel)
 
void OIT::AddSortTrianglesPass (FRDGBuilder &GraphBuilder, const FViewInfo &View, FOITSceneData &OITSceneData, FTriangleSortingOrder SortType)
 
FOITData OIT::CreateOITData (FRDGBuilder &GraphBuilder, const FViewInfo &View, EOITPassType PassType)
 
void OIT::SetOITParameters (FRDGBuilder &GraphBuilder, const FViewInfo &View, FOITBasePassUniformParameters &OutOIT, const FOITData &InOITData)
 
void OIT::AddOITComposePass (FRDGBuilder &GraphBuilder, const FViewInfo &View, FOITData &OITData, FRDGTextureRef SceneColorTexture)
 
void OIT::AddOITComposePass (FRDGBuilder &GraphBuilder, const FViewInfo &View, FOITData &OITData, FRDGTextureRef LightingTexture, FRDGTextureRef ModulateTexture)
 
void OIT::OnRenderBegin (FOITSceneData &OITSceneData)
 

Function Documentation

◆ IMPLEMENT_GLOBAL_SHADER() [1/6]

IMPLEMENT_GLOBAL_SHADER ( FOITPixelCombineCS  ,
"/Engine/Private/OITCombine.usf"  ,
"MainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [2/6]

IMPLEMENT_GLOBAL_SHADER ( FOITPixelDebugCS  ,
"/Engine/Private/OITCombine.usf"  ,
"MainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [3/6]

IMPLEMENT_GLOBAL_SHADER ( FOITSortTriangleIndex_AllocateCS  ,
"/Engine/Private/OIT/OITSorting.usf"  ,
"MainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [4/6]

IMPLEMENT_GLOBAL_SHADER ( FOITSortTriangleIndex_Debug  ,
"/Engine/Private/OIT/OITSorting.usf"  ,
"MainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [5/6]

IMPLEMENT_GLOBAL_SHADER ( FOITSortTriangleIndex_ScanCS  ,
"/Engine/Private/OIT/OITSorting.usf"  ,
"MainCS"  ,
SF_Compute   
)

◆ IMPLEMENT_GLOBAL_SHADER() [6/6]

IMPLEMENT_GLOBAL_SHADER ( FOITSortTriangleIndex_WriteOutCS  ,
"/Engine/Private/OIT/OITSorting.usf"  ,
"MainCS"  ,
SF_Compute   
)