Go to the source code of this file.
|
| void | BuildHZB (FRDGBuilder &GraphBuilder, FRDGTextureRef SceneDepth, FRDGTextureRef VisBufferTexture, const FIntRect ViewRect, ERHIFeatureLevel::Type FeatureLevel, EShaderPlatform ShaderPlatform, const TCHAR *ClosestHZBName, FRDGTextureRef *OutClosestHZBTexture, const TCHAR *FurthestHZBName, FRDGTextureRef *OutFurthestHZBTexture, EPixelFormat Format=BuildHZBDefaultPixelFormat, const FBuildHZBAsyncComputeParams *AsyncComputeParams=nullptr, const Froxel::FViewData *OutFroxelData=nullptr, FExtraParameters ExtraParameters={}) |
| |
| void | BuildHZBFurthest (FRDGBuilder &GraphBuilder, FRDGTextureRef SceneDepth, FRDGTextureRef VisBufferTexture, const FIntRect ViewRect, ERHIFeatureLevel::Type FeatureLevel, EShaderPlatform ShaderPlatform, const TCHAR *FurthestHZBName, FRDGTextureRef *OutFurthestHZBTexture, EPixelFormat Format=BuildHZBDefaultPixelFormat, const FBuildHZBAsyncComputeParams *AsyncComputeParams=nullptr, FExtraParameters ExtraParameters={}) |
| |
◆ BuildHZB()
| void BuildHZB |
( |
FRDGBuilder & |
GraphBuilder, |
|
|
FRDGTextureRef |
SceneDepth, |
|
|
FRDGTextureRef |
VisBufferTexture, |
|
|
const FIntRect |
ViewRect, |
|
|
ERHIFeatureLevel::Type |
FeatureLevel, |
|
|
EShaderPlatform |
ShaderPlatform, |
|
|
const TCHAR * |
ClosestHZBName, |
|
|
FRDGTextureRef * |
OutClosestHZBTexture, |
|
|
const TCHAR * |
FurthestHZBName, |
|
|
FRDGTextureRef * |
OutFurthestHZBTexture, |
|
|
EPixelFormat |
Format = BuildHZBDefaultPixelFormat, |
|
|
const FBuildHZBAsyncComputeParams * |
AsyncComputeParams = nullptr, |
|
|
const Froxel::FViewData * |
OutFroxelData = nullptr, |
|
|
FExtraParameters |
ExtraParameters = {} |
|
) |
| |
Closest and furthest HZB are intentionally in separate render target, because majority of the case you only one or the other. Keeping them separate avoid doubling the size in cache for this cases, to avoid performance regression.
◆ BuildHZBFurthest()
| void BuildHZBFurthest |
( |
FRDGBuilder & |
GraphBuilder, |
|
|
FRDGTextureRef |
SceneDepth, |
|
|
FRDGTextureRef |
VisBufferTexture, |
|
|
const FIntRect |
ViewRect, |
|
|
ERHIFeatureLevel::Type |
FeatureLevel, |
|
|
EShaderPlatform |
ShaderPlatform, |
|
|
const TCHAR * |
FurthestHZBName, |
|
|
FRDGTextureRef * |
OutFurthestHZBTexture, |
|
|
EPixelFormat |
Format = BuildHZBDefaultPixelFormat, |
|
|
const FBuildHZBAsyncComputeParams * |
AsyncComputeParams = nullptr, |
|
|
FExtraParameters |
ExtraParameters = {} |
|
) |
| |