Module |
|
Header |
/Engine/Source/Editor/MeshPaint/Public/TexturePaintHelpers.h |
Include |
#include "TexturePaintHelpers.h" |
class TexturePaintHelpers
Helpers functions for texture painting functionality
Name | Description | ||
---|---|---|---|
|
CopyTextureToRenderTargetTexture ( |
Static: Copies a texture to a render target texture |
|
|
UTexture2D &... |
CreateTempUncompressedTexture ( |
Static: Creates a temporary texture used to transfer data to a render target in memory |
|
DoesMeshComponentUseTexture ( |
Checks whether or not the given MeshComponent's materials use the specified texture |
|
|
FindMaterialIndicesUsingTexture ( |
Tries to find Materials using the given Texture and retrieve the corresponding material indices from the MEsh Compon |
|
|
GenerateSeamMask ( |
Will generate a mask texture, used for texture dilation, and store it in the passed in render target |
|
|
constexpr in... |
GetMaxSupportedBytesPerPixelForPainting() |
Returns the maximum bytes per pixel that are supported for source textures when painting. |
|
constexpr EP... |
GetTempUncompressedTexturePixelFormat() |
Returns the pixel format that CreateTempUncompressedTexture uses to create render target data for painting. |
|
RetrieveMeshSectionsForMaterialIndices ( |
Retrieve LOD mesh sections from MeshComponent which contain one of the Material Indices |
|
|
RetrieveMeshSectionsForTextures ( |
Retrieve LOD mesh sections from MeshComponent which use one of the given textures |
|
|
RetrieveTexturesForComponent ( |
Retrieves all Paintable Textures from the given MeshComponent |
|
|
SetupInitialRenderTargetData ( |
Makes sure that the render target is ready to paint on |