![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MaterialShared.h>
Static Public Member Functions | |
| static uint32 | GetGBufferMask () |
Stores outputs from the material compile that need to be saved. Updates to layout fields in this class must be accompanied with a GUID bump to MaterialTranslationDDCVersion entry in FDevSystemGuids.
|
inline |
Returns mask for all scene textures that are from the GBuffer
|
inline |
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bHasRuntimeVirtualTextureOutputNode | , | ||
| 1 | |||
| ) |
true if the material writes to a runtime virtual texture custom output node.
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bIsLightFunctionAtlasCompatible | , | ||
| 1 | |||
| ) |
true if the material is compatible with the light function atlas
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bModifiesMeshPosition | , | ||
| 1 | |||
| ) |
true if the material modifies the the mesh position.
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bNeedsSceneTextures | , | ||
| 1 | |||
| ) |
true if the material needs the scene texture lookups.
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bUsedWithNeuralNetworks | , | ||
| 1 | |||
| ) |
Whether the material uses NNE.
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bUsesAnisotropy | , | ||
| 1 | |||
| ) |
true if the material uses non 0 anisotropy value
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bUsesCustomizedUVs | , | ||
| 1 | |||
| ) |
Whether the material uses customized UVs.
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bUsesDBufferTextureLookup | , | ||
| 1 | |||
| ) |
true if the material uses DBuffer texture lookups.
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bUsesDisplacement | , | ||
| 1 | |||
| ) |
Whether the material uses scalar displacement.
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bUsesDistanceCullFade | , | ||
| 1 | |||
| ) |
true if the material uses distance cull fade
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bUsesEyeAdaptation | , | ||
| 1 | |||
| ) |
true if the material uses the EyeAdaptationLookup
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bUsesGlobalDistanceField | , | ||
| 1 | |||
| ) |
true if material uses the global distance field
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bUsesMotionVectorWorldOffset | , | ||
| 1 | |||
| ) |
true if the material uses motion vector offset.
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bUsesPerInstanceCustomData | , | ||
| 1 | |||
| ) |
true if the material uses per-instance custom data
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bUsesPixelDepthOffset | , | ||
| 1 | |||
| ) |
true if the material writes a pixel depth offset
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bUsesTemporalResponsiveness | , | ||
| 1 | |||
| ) |
true if the material uses temporal responsiveness.
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bUsesVertexInterpolator | , | ||
| 1 | |||
| ) |
true if the material uses vertex interpolator
| FMaterialCompilationOutput::LAYOUT_BITFIELD | ( | uint8 | , |
| bUsesWorldPositionOffset | , | ||
| 1 | |||
| ) |
Whether the material uses world position offset.
| FMaterialCompilationOutput::LAYOUT_FIELD | ( | FSubstrateMaterialCompilationOutput | , |
| SubstrateMaterialCompilationOutput | |||
| ) |
The Substrate material layout
| FMaterialCompilationOutput::LAYOUT_FIELD | ( | FUniformExpressionSet | , |
| UniformExpressionSet | |||
| ) |
| FMaterialCompilationOutput::LAYOUT_FIELD | ( | TMemoryImageArray< FScriptName > | , |
| UserSceneTextureInputs | |||
| ) |
User scene texture inputs to this material, these will use slots not taken up by the UsedSceneTextures bitfield below
| FMaterialCompilationOutput::LAYOUT_FIELD | ( | uint32 | , |
| UsedSceneTextures | |||
| ) |
Bitfield of the ESceneTextures used
| FMaterialCompilationOutput::LAYOUT_FIELD | ( | uint8 | , |
| RuntimeVirtualTextureOutputAttributeMask | |||
| ) |
Bitfield of runtime virtual texture output attributes.
| FMaterialCompilationOutput::LAYOUT_FIELD | ( | uint8 | , |
| UsedDBufferTextures | |||
| ) |
Bitfield of used DBuffer textures .
| FMaterialCompilationOutput::LAYOUT_FIELD | ( | uint8 | , |
| UsedPathTracingBufferTextures | |||
| ) |
Bitfield of the EPathTracingBufferTextureId used
| FMaterialCompilationOutput::LAYOUT_FIELD_EDITORONLY | ( | uint16 | , |
| EstimatedNumTextureSamplesPS | |||
| ) |
| FMaterialCompilationOutput::LAYOUT_FIELD_EDITORONLY | ( | uint16 | , |
| EstimatedNumTextureSamplesVS | |||
| ) |
Number of times SampleTexture is called, excludes custom nodes.
| FMaterialCompilationOutput::LAYOUT_FIELD_EDITORONLY | ( | uint16 | , |
| EstimatedNumVirtualTextureLookups | |||
| ) |
Estimate of the number of times each LWC operator occurs in the material shader code Number of virtual texture lookups performed, excludes direct invocation in shaders (for example VT lightmaps)
| FMaterialCompilationOutput::LAYOUT_FIELD_EDITORONLY | ( | uint8 | , |
| NumUsedCustomInterpolatorScalars | |||
| ) |
Number of used custom vertex interpolation scalars.
| FMaterialCompilationOutput::LAYOUT_FIELD_EDITORONLY | ( | uint8 | , |
| NumUsedUVScalars | |||
| ) |
Number of used custom UV scalars.
| FMaterialCompilationOutput::LAYOUT_FIELD_EDITORONLY | ( | uint8 | , |
| NumVirtualTextureFeedbackRequests | |||
| ) |
Number of feedback requests used for virtual texturing.
|
inline |
true if the material uses any GBuffer textures
|
inline |
Indicates whether the material uses scene color.
|
inline |
|
inline |
true if the material uses the SceneDepth lookup
|
inline |
true if the material uses the Velocity SceneTexture lookup