Navigation
API > API/Plugins > API/Plugins/MutableTools
Options used to compile the models with a compiler.
| Name | CompilerOptions |
| Type | class |
| Header File | /Engine/Plugins/Mutable/Source/MutableTools/Public/MuT/Compiler.h |
| Include Path | #include "MuT/Compiler.h" |
Syntax
class CompilerOptions : public mu::RefCounted
Inheritance Hierarchy
- RefCounted → CompilerOptions
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MuT/Compiler.h | |||
CompilerOptions
(
const CompilerOptions& |
MuT/Compiler.h | ||
| Create new settings with the default values as explained in each method below. | MuT/Compiler.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~CompilerOptions() |
Forbidden. Manage with the Ptr<> template. | MuT/Compiler.h |
Classes
| Name | Remarks |
|---|---|
| Private |
Enums
Public
| Name | Remarks |
|---|---|
| TextureLayoutStrategy | Different data packing strategies. |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| m_pD | Private * | MuT/Compiler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
Private * GetPrivate() |
MuT/Compiler.h | ||
void LogStats() |
Output some stats about the complete compilation to the log. | MuT/Compiler.h | |
void SetConstReductionEnabled
(
bool bEnabled |
MuT/Compiler.h | ||
void SetDataPackingStrategy
(
int32 MinTextureResidentMipCount, |
MuT/Compiler.h | ||
void SetDisableImageGeneration
(
bool bDisabled |
MuT/Compiler.h | ||
void SetDisableMeshGeneration
(
bool bDisabled |
MuT/Compiler.h | ||
void SetEnableProgressiveImages
(
bool bEnabled |
If enabled it will make sure that the object is compile to generate smaller mips of the images. | MuT/Compiler.h | |
void SetIgnoreStates
(
bool bIgnore |
MuT/Compiler.h | ||
void SetImageCompressionQuality
(
int32 Quality |
Set the quality for the image compression algorithms. | MuT/Compiler.h | |
void SetImagePixelFormatOverride
(
const FImageOperator::FImagePixelFormatFunc& |
Set an optional pixel conversion function that will be called before any pixel format conversion. | MuT/Compiler.h | |
void SetImageTiling
(
int32 Tiling |
Set the image tiling strategy : If 0 (default) there is no tiling. | MuT/Compiler.h | |
void SetLogEnabled
(
bool bEnabled |
MuT/Compiler.h | ||
void SetOptimisationEnabled
(
bool bEnabled |
MuT/Compiler.h | ||
void SetOptimisationMaxIteration
(
int32 MaxIterations |
MuT/Compiler.h | ||
void SetReferencedResourceCallback
(
const FReferencedImageResourceFunc&, |
MuT/Compiler.h | ||
void SetUseDiskCache
(
bool bEnabled |
If enabled, the disk will be used as temporary memory. | MuT/Compiler.h |
Protected
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const char * GetTextureLayoutStrategyName
(
TextureLayoutStrategy s |
MuT/Compiler.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
CompilerOptions & operator=
(
const CompilerOptions& |
MuT/Compiler.h | ||
CompilerOptions & operator=
(
CompilerOptions&& |
MuT/Compiler.h |