32 lines
1.0 KiB
C++
32 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
/*=============================================================================
|
|
HairVisibilityRendering.h: Hair strands visibility buffer implementation.
|
|
=============================================================================*/
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "RendererInterface.h"
|
|
#include "RenderGraphResources.h"
|
|
|
|
class FViewInfo;
|
|
class FInstanceCullingManager;
|
|
|
|
void RenderHairStrandsVisibilityBuffer(
|
|
FRDGBuilder& GraphBuilder,
|
|
const class FScene* Scene,
|
|
FViewInfo& View,
|
|
FRDGTextureRef SceneGBufferATexture,
|
|
FRDGTextureRef SceneGBufferBTexture,
|
|
FRDGTextureRef SceneGBufferCTexture,
|
|
FRDGTextureRef SceneGBufferDTexture,
|
|
FRDGTextureRef SceneGBufferETexture,
|
|
FRDGTextureRef SceneColorTexture,
|
|
FRDGTextureRef SceneDepthTexture,
|
|
FRDGTextureRef SceneVelocityTexture,
|
|
FInstanceCullingManager& InstanceCullingManager);
|
|
|
|
void SetUpViewHairRenderInfo(const FViewInfo& ViewInfo, FVector4f& OutHairRenderInfo, uint32& OutHairRenderInfoBits, uint32& OutHairComponents);
|
|
|