|
| | DECLARE_GPU_DRAWCALL_STAT_NAMED (RenderVelocities, TEXT("Render Velocities")) |
| |
| void | ValidateVelocityCVars () |
| |
| bool | NeedVelocityDepth (EShaderPlatform ShaderPlatform) |
| |
| bool | SupportsTemporalResponsiveness (EShaderPlatform ShaderPlatform) |
| |
| bool | SupportsPixelShaderMotionVectorWorldOffset (EShaderPlatform ShaderPlatform) |
| |
| bool | SupportsTranslucentClippedDepth (EShaderPlatform ShaderPlatform) |
| |
| | IMPLEMENT_SHADER_TYPE (, FVelocityVS, TEXT("/Engine/Private/VelocityShader.usf"), TEXT("MainVertexShader"), SF_Vertex) |
| |
| | IMPLEMENT_SHADER_TYPE (, FVelocityPS, TEXT("/Engine/Private/VelocityShader.usf"), TEXT("MainPixelShader"), SF_Pixel) |
| |
| | IMPLEMENT_MATERIAL_SHADER_TYPE (template<>, TVelocityVS< EVelocityPassMode::Velocity_Standard >, TEXT("/Engine/Private/VelocityShader.usf"), TEXT("MainVertexShader"), SF_Vertex) |
| |
| | IMPLEMENT_MATERIAL_SHADER_TYPE (template<>, TVelocityVS< EVelocityPassMode::Velocity_ClippedDepth >, TEXT("/Engine/Private/VelocityShader.usf"), TEXT("MainVertexShader"), SF_Vertex) |
| |
| | IMPLEMENT_MATERIAL_SHADER_TYPE (template<>, TVelocityVS< EVelocityPassMode::Velocity_StereoMotionVectors >, TEXT("/Engine/Private/VelocityShader.usf"), TEXT("MainVertexShader"), SF_Vertex) |
| |
| | IMPLEMENT_MATERIAL_SHADER_TYPE (template<>, TVelocityPS< EVelocityPassMode::Velocity_Standard >, TEXT("/Engine/Private/VelocityShader.usf"), TEXT("MainPixelShader"), SF_Pixel) |
| |
| | IMPLEMENT_MATERIAL_SHADER_TYPE (template<>, TVelocityPS< EVelocityPassMode::Velocity_ClippedDepth >, TEXT("/Engine/Private/VelocityShader.usf"), TEXT("MainPixelShader"), SF_Pixel) |
| |
| | IMPLEMENT_MATERIAL_SHADER_TYPE (template<>, TVelocityPS< EVelocityPassMode::Velocity_StereoMotionVectors >, TEXT("/Engine/Private/VelocityShader.usf"), TEXT("MainPixelShader"), SF_Pixel) |
| |
| | IMPLEMENT_SHADERPIPELINE_TYPE_VSPS (StandardVelocityPipeline, TVelocityVS< EVelocityPassMode::Velocity_Standard >, TVelocityPS< EVelocityPassMode::Velocity_Standard >, true) |
| |
| | IMPLEMENT_SHADERPIPELINE_TYPE_VSPS (VelocityClippedDepthPipeline, TVelocityVS< EVelocityPassMode::Velocity_ClippedDepth >, TVelocityPS< EVelocityPassMode::Velocity_ClippedDepth >, true) |
| |
| | IMPLEMENT_SHADERPIPELINE_TYPE_VSPS (VelocityMotionVectorsPipeline, TVelocityVS< EVelocityPassMode::Velocity_StereoMotionVectors >, TVelocityPS< EVelocityPassMode::Velocity_StereoMotionVectors >, true) |
| |
| | IMPLEMENT_GLOBAL_SHADER (FMotionVectorWorldOffsetVelocityResolveCS, "/Engine/Private/VelocityUpdate.usf", "MainCS", SF_Compute) |
| |
| EMeshPass::Type | GetMeshPassFromVelocityPass (EVelocityPass VelocityPass) |
| |
| | IMPLEMENT_STATIC_UNIFORM_BUFFER_SLOT (VelocityClippedDepth) |
| |
| | IMPLEMENT_STATIC_UNIFORM_BUFFER_STRUCT (FVelocityClippedDepthUniformParameters, "VelocityClippedDepth", VelocityClippedDepth) |
| |
| TRDGUniformBufferRef< FVelocityClippedDepthUniformParameters > | BindTranslucentVelocityClippedDepthPassUniformParameters (FRDGBuilder &GraphBuilder, const FSceneTextures &SceneTextures, bool bWriteVelocity, EShaderPlatform ShaderPlatform) |
| |
| void | GetMotionVectorOutputFlag (TArrayView< FViewInfo > InViews, EMeshPass::Type MeshPass, bool bForceVelocity, bool &bUsesAnyMotionVectorWorldOffsetMaterials) |
| |
| bool | GetVelocityPassShaders (const FMaterial &Material, const FVertexFactoryType *VertexFactoryType, ERHIFeatureLevel::Type FeatureLevel, EVelocityPassMode PassMode, TShaderRef< FVelocityVS > &VertexShader, TShaderRef< FVelocityPS > &PixelShader) |
| |
| FMeshPassProcessor * | CreateVelocityPassProcessor (ERHIFeatureLevel::Type FeatureLevel, const FScene *Scene, const FSceneView *InViewIfDynamicMeshCommand, FMeshPassDrawListContext *InDrawListContext) |
| |
| | REGISTER_MESHPASSPROCESSOR_AND_PSOCOLLECTOR (VelocityPass, CreateVelocityPassProcessor, EShadingPath::Deferred, EMeshPass::Velocity, EMeshPassFlags::CachedMeshCommands|EMeshPassFlags::MainView) |
| |
| | REGISTER_MESHPASSPROCESSOR_AND_PSOCOLLECTOR (MobileVelocityPass, CreateVelocityPassProcessor, EShadingPath::Mobile, EMeshPass::Velocity, EMeshPassFlags::CachedMeshCommands|EMeshPassFlags::MainView) |
| |
| FMeshPassProcessor * | CreateTranslucentVelocityPassProcessor (ERHIFeatureLevel::Type FeatureLevel, const FScene *Scene, const FSceneView *InViewIfDynamicMeshCommand, FMeshPassDrawListContext *InDrawListContext) |
| |
| FMeshPassProcessor * | CreateTranslucentVelocityClippedDepthPassProcessor (ERHIFeatureLevel::Type FeatureLevel, const FScene *Scene, const FSceneView *InViewIfDynamicMeshCommand, FMeshPassDrawListContext *InDrawListContext) |
| |
| | REGISTER_MESHPASSPROCESSOR_AND_PSOCOLLECTOR (TranslucentVelocityPass, CreateTranslucentVelocityPassProcessor, EShadingPath::Deferred, EMeshPass::TranslucentVelocity, EMeshPassFlags::CachedMeshCommands|EMeshPassFlags::MainView) |
| |
| | REGISTER_MESHPASSPROCESSOR_AND_PSOCOLLECTOR (TranslucentVelocityClippedDepthPass, CreateTranslucentVelocityClippedDepthPassProcessor, EShadingPath::Deferred, EMeshPass::TranslucentVelocityClippedDepth, EMeshPassFlags::CachedMeshCommands|EMeshPassFlags::MainView) |
| |
| | REGISTER_MESHPASSPROCESSOR_AND_PSOCOLLECTOR (MobileTranslucentVelocityPass, CreateTranslucentVelocityPassProcessor, EShadingPath::Mobile, EMeshPass::TranslucentVelocity, EMeshPassFlags::CachedMeshCommands|EMeshPassFlags::MainView) |
| |