FMaterialCompilationOutput

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

Windows
MacOS
Linux

Syntax

class FMaterialCompilationOutput

Remarks

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

Variables

Name Description

Public variable

bool

 

bModifiesMeshPosition

True if the material modifies the the mesh position.

Public variable

bool

 

bNeedsGBuffer

True if the material uses any GBuffer textures

Public variable

bool

 

bNeedsSceneTextures

True if the material needs the scenetexture lookups.

Public variable

bool

 

bRequiresSceneColorCopy

Indicates whether the material uses scene color.

Public variable

bool

 

bUsesDistanceCullFade

True if the material uses distance cull fade

Public variable

bool

 

bUsesEyeAdaptation

True if the material uses the EyeAdaptationLookup

Public variable

bool

 

bUsesGlobalDistanceField

True if material uses the global distance field

Public variable

bool

 

bUsesPixelDepthOffset

True if the material writes a pixel depth offset

Public variable

bool

 

bUsesSceneDepthLookup

True if the material uses the SceneDepth lookup

Public variable

bool

 

bUsesVelocitySceneTexture

True if the material uses the Velocity SceneTexture lookup

Public variable

bool

 

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

uint8

 

NumUsedCustomInterpolatorScalars

Number of used custom vertex interpolation scalars.

Public variable

uint8

 

NumUsedUVScalars

Number of used custom UV scalars.

Public variable

FUniformExpress...

 

UniformExpressionSet

Constructors

Name Description

Public function

FMaterialCompilationOutput()

Functions

Name Description

Public function

void

 

Serialize

(
    FArchive& Ar
)

References

Module

Engine

Header

Runtime/Engine/Public/MaterialShared.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback