FMeshRenderer::RenderMaterial

Renders out textures for each material property for the given material, using the given mesh data or by using a simple tile rendering approach

Windows
MacOS
Linux

References

Module

MaterialUtilities

Header

/Engine/Source/Developer/MaterialUtilities/Public/MeshRendering.h

Include

#include "MeshRendering.h"

Source

/Engine/Source/Developer/MaterialUtilities/Private/MeshRendering.cpp

Syntax

static bool RenderMaterial
(
    FMaterialMergeData & InMaterialData,
    FMaterialRenderProxy * InMaterialProxy,
    EMaterialProperty InMaterialProperty,
    UTextureRenderTarget2D * InRenderTarget,
    TArray< FColor > & OutBMP
)

Remarks

Renders out textures for each material property for the given material, using the given mesh data or by using a simple tile rendering approach

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