FMaterialCompilationOutput

Stores outputs from the material compile that need to be saved.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/MaterialShared.h

Include

#include "MaterialShared.h"

Syntax

class FMaterialCompilationOutput

Remarks

Stores outputs from the material compile that need to be saved.

Variables

Name Description

Public variable

uint8: 1

 

bHasRuntimeVirtualTextureOutputNode

True if the material writes to a runtime virtual texture custom output node.

Public variable

uint8: 1

 

bModifiesMeshPosition

True if the material modifies the the mesh position.

Public variable

uint8: 1

 

bNeedsSceneTextures

True if the material needs the scenetexture lookups.

Public variable

uint8: 1

 

bUsesDistanceCullFade

True if the material uses distance cull fade

Public variable

uint8: 1

 

bUsesEyeAdaptation

True if the material uses the EyeAdaptationLookup

Public variable

uint8: 1

 

bUsesGlobalDistanceField

True if material uses the global distance field

Public variable

uint8: 1

 

bUsesPixelDepthOffset

True if the material writes a pixel depth offset

Public variable

uint8: 1

 

bUsesWorldPositionOffset

Whether the material uses world position offset.

Public variable

uint16

 

EstimatedNumTextureSamplesPS

Public variable

uint16

 

EstimatedNumTextureSamplesVS

Number of times SampleTexture is called, excludes custom nodes.

Public variable

uint16

 

EstimatedNumVirtualTextureLookups

Number of virtual texture lookups performed, excludes direct invocation in shaders (for example VT lightmaps)

Public variable

uint8

 

NumUsedCustomInterpolatorScalars

Number of used custom vertex interpolation scalars.

Public variable

uint8

 

NumUsedUVScalars

Number of used custom UV scalars.

Public variable

uint8

 

RuntimeVirtualTextureOutputAttributeMask

Bitfield of runtime virtual texture output attributes.

Public variable

FUniformExpress...

 

UniformExpressionSet

Public variable

uint32

 

UsedSceneTextures

Bitfield of the ESceneTextures used

Constructors

Name Description

Public function

FMaterialCompilationOutput()

Functions

Name Description

Public function Const

const FTypeL...

 

GetTypeLayout()

Public function Const

bool

 

IsSceneTextureUsed

(
    ESceneTextureId TexId
)

Public function Const

bool

 

NeedsGBuffer()

True if the material uses any GBuffer textures

Public function Const

bool

 

RequiresSceneColorCopy()

Indicates whether the material uses scene color.

Public function

void

 

SetIsSceneTextureUsed

(
    ESceneTextureId TexId
)

Public function Static

FTypeLayoutD...

 

StaticGetTypeLayout()

Public function Const

bool

 

UsesSceneDepthLookup()

True if the material uses the SceneDepth lookup

Public function Const

bool

 

UsesVelocitySceneTexture()

True if the material uses the Velocity SceneTexture lookup

Classes

Typedefs

Name

Description

DerivedType

InternalBaseType

Constants

Name

Description

CounterBase

InterfaceType

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss