Choose your operating system:
Windows
macOS
Linux
| FMaterialRelevance
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Materials/MaterialRelevance.h |
Include |
#include "Materials/MaterialRelevance.h" |
struct FMaterialRelevance
The class is only storing bits, initialized to 0 and has an |= operator to provide a combined set of multiple materials (component / mesh)
Name | Description | ||
---|---|---|---|
|
union FMaterial... |
@1752 |
Bits that express which EMaterialShadingModel are used |
|
uint8: 1 |
bDecal |
|
|
uint8: 1 |
bDisableDepthTest |
|
|
uint8: 1 |
bDistortion |
|
|
uint8: 1 |
bHairStrands |
|
|
uint8: 1 |
bHasVolumeMaterialDomain |
|
|
uint8: 1 |
bMasked |
|
|
uint8: 1 |
bNormalTranslucency |
|
|
uint8: 1 |
bOpaque |
|
|
uint8: 1 |
bOutputsTranslucentVelocity |
|
|
uint8: 1 |
bPostMotionBlurTranslucency |
|
|
uint8: 1 |
bSeparateTranslucency |
|
|
uint8: 1 |
bSeparateTranslucencyModulate |
|
|
uint8: 1 |
bTranslucentSurfaceLighting |
|
|
uint8: 1 |
bUsesAnisotropy |
|
|
uint8: 1 |
bUsesCustomDepthStencil |
|
|
uint8: 1 |
bUsesDistanceCullFade |
|
|
uint8: 1 |
bUsesGlobalDistanceField |
|
|
uint8: 1 |
bUsesSceneColorCopy |
|
|
uint8: 1 |
bUsesSceneDepth |
|
|
uint8: 1 |
bUsesSingleLayerWaterMaterial |
|
|
uint8: 1 |
bUsesSkyMaterial |
|
|
uint8: 1 |
bUsesWorldPositionOffset |
|
|
Raw |
||
|
ShadingModelMask |
Name | Description | |
---|---|---|
|
FMaterialRelevance() |
Default constructor |
Name | Description | ||
---|---|---|---|
|
SetPrimitiveViewRelevance ( |
Copies the material's relevance flags to a primitive's view relevance flags. |
Name | Description | ||
---|---|---|---|
|
FMaterialRel... |
operator|= ( |
Bitwise OR operator. Sets any relevance bits which are present in either. |