engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FPrimitiveViewRelevance结构体 参考

The different types of relevance a primitive scene proxy can declare towards a particular scene view. 更多...

#include <PrimitiveViewRelevance.h>

继承自 FMaterialRelevance .

Public 成员函数

 FPrimitiveViewRelevance ()
 Default constructor
 
FPrimitiveViewRelevance & operator|= (const FPrimitiveViewRelevance &B)
 Bitwise OR operator. 更多...
 

Public 属性

uint32 bDrawRelevance: 1
 The primitive is drawn.
 
uint32 bDynamicRelevance: 1
 The primitive's dynamic elements are rendered for the view.
 
uint32 bEditorNoDepthTestPrimitiveRelevance: 1
 The primitive is drawn only in the editor and composited onto the scene after post processing using no depth testing
 
uint32 bEditorPrimitiveRelevance: 1
 The primitive is drawn only in the editor and composited onto the scene after post processing
 
uint32 bEditorStaticSelectionRelevance: 1
 The primitive's static elements are selected and rendered again in the selection outline pass
 
uint32 bHasSimpleLights: 1
 The primitive should have GatherSimpleLights called on the proxy when gathering simple lights.
 
uint32 bInitializedThisFrame: 1
 Whether this primitive view relevance has been initialized this frame. 更多...
 
uint32 bRenderCustomDepth: 1
 The primitive should render to the custom depth pass.
 
uint32 bRenderInDepthPass: 1
 The primitive should render to the depth prepass even if it's not rendered in the main pass.
 
uint32 bRenderInMainPass: 1
 The primitive should render to the base pass / normal depth / velocity rendering.
 
uint32 bShadowRelevance: 1
 The primitive is casting a shadow.
 
uint32 bStaticRelevance: 1
 The primitive's static elements are rendered for the view.
 
uint32 bTranslucentSelfShadow: 1
 Whether the primitive has materials that use volumetric translucent self shadow.
 
uint32 bUsesLightingChannels: 1
 Whether the primitive uses non-default lighting channels.
 
uint32 bVelocityRelevance: 1
 The primitive should render velocity.
 

详细描述

The different types of relevance a primitive scene proxy can declare towards a particular scene view.

the class is only storing bits, and has an |= operator

成员函数说明

◆ operator|=()

FPrimitiveViewRelevance & FPrimitiveViewRelevance::operator|= ( const FPrimitiveViewRelevance &  B)
inline

Bitwise OR operator.

Sets any relevance bits which are present in either.

类成员变量说明

◆ bInitializedThisFrame

uint32 FPrimitiveViewRelevance::bInitializedThisFrame

Whether this primitive view relevance has been initialized this frame.


Primitives that have not had ComputeRelevanceForView called on them (because they were culled) will not be initialized, But we may still need to render them from other views like shadow passes, so this tracks whether we can reuse the cached relevance or not.


该结构体的文档由以下文件生成: