Choose your operating system:
Windows
macOS
Linux
Deprecated
Use the FBatchedElements::Draw method that takes a non-optional FSceneView parameter instead
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 FMatrix & Transform,
uint32 ViewportSizeX,
uint32 ViewportSizeY,
bool bHitTesting,
float Gamma,
const FSceneView * View,
EBlendModeFilter::Type Filter
) const
Draws the batch
Parameter |
Description |
---|---|
Transform |
The transform matrix for each viewport (View->ViewProjectionMatrix) |
ViewportSizeX |
The width of the viewport |
ViewportSizeY |
The height of the viewport |
bHitTesting |
Whether or not we are hit testing |
Gamma |
Optional gamma override |
View |
Optional FSceneView for shaders that need access to view constants |
DepthTexture |
DepthTexture for manual depth testing with editor compositing in the pixel shader |