Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/BatchedElements.h |
Include |
#include "BatchedElements.h" |
Source |
/Engine/Source/Runtime/Engine/Private/BatchedElements.cpp |
bool Draw
(
FRHICommandList & RHICmdList,
const FMeshPassProcessorRenderState & DrawRenderState,
ERHIFeatureLevel::Type FeatureLevel,
bool bNeedToSwitchVerticalAxis,
const FSceneView & View,
bool bHitTesting,
float Gamma,
EBlendModeFilter::Type Filter
) const
Draws the batch
Parameter |
Description |
---|---|
View |
FSceneView for shaders that need access to view constants. Non-optional to also reference its ViewProjectionMatrix and size of the ViewRect |
bHitTesting |
Whether or not we are hit testing |
Gamma |
Optional gamma override |
DepthTexture |
DepthTexture for manual depth testing with editor compositing in the pixel shader |