Files
UnrealEngine/Engine/Source/Runtime/Renderer/Private/HairStrands/HairStrandsVoxelization.h
2025-05-18 13:04:45 +08:00

25 lines
809 B
C

// Copyright Epic Games, Inc. All Rights Reserved.
/*=============================================================================
HairStrandsVoxelization.h: Hair voxelization implementation.
=============================================================================*/
#pragma once
#include "CoreMinimal.h"
#include "RendererInterface.h"
#include "RenderGraphResources.h"
#include "SceneRendering.h"
/// Global enable/disable for hair voxelization
bool IsHairStrandsVoxelizationEnable(EShaderPlatform ShaderPlatform);
bool IsHairStrandsForVoxelTransmittanceAndShadowEnable(EShaderPlatform ShaderPlatform);
void VoxelizeHairStrands(
FRDGBuilder& GraphBuilder,
const class FScene* Scene,
FViewInfo& View,
FInstanceCullingManager& InstanceCullingManager,
const FVector& PreViewStereoCorrection);