Module |
|
Header |
/Engine/Source/Developer/TextureCompressor/Public/TextureCompressorModule.h |
Include |
#include "TextureCompressorModule.h" |
struct FTextureBuildSettings
Texture build settings.
Name | Description | ||
---|---|---|---|
|
AlphaCoverageThresholds |
Channel values to compare to when preserving alpha coverage. |
|
|
ArraySlices |
The array texture's top mip size Z without LODBias applied |
|
|
uint32: 1 |
bApplyKernelToTopMip |
1:apply mip sharpening/blurring kernel to top mip as well (at half the kernel size), 0:don't |
|
uint32: 1 |
bApplyYCoCgBlockScale |
Calculate and apply a scale for YCoCg textures. |
|
uint32: 1 |
bBorderColorBlack |
Whether the border color should be black. |
|
uint32: 1 |
bChromaKeyTexture |
Whether to chroma key the image, replacing any pixels that match ChromaKeyColor with transparent black |
|
uint32: 1 |
bComputeBokehAlpha |
Whether bokeh alpha values should be computed for the texture. |
|
uint32: 1 |
bCubemap |
Whether the texture being built is a cubemap. |
|
uint32: 1 |
bDitherMipMapAlpha |
Whether the alpha channel should contain a dithered alpha value. |
|
uint32: 1 |
bDownsampleWithAverage |
Whether each mip should use the downsampled-with-average result instead of the sharpened result. |
|
uint32: 1 |
bFlipGreenChannel |
Whether the green channel should be flipped. Typically only done on normal maps. |
|
bHDRSource |
Whether the texture being built contains HDR source data |
|
|
uint32: 1 |
bLongLatSource |
Whether the texture being built from long/lat source to cubemap. |
|
uint32: 1 |
bPreserveBorder |
Whether the border of the image should be maintained during mipmap generation. |
|
uint32: 1 |
bRenormalizeTopMip |
1: renormalizes the top mip (only useful for normal maps, prevents artists errors and adds quality) 0:don't |
|
uint32: 1 |
bReplicateAlpha |
Whether the contents of the alpha channel should be replicated to all channels. |
|
uint32: 1 |
bReplicateRed |
Whether the contents of the red channel should be replicated to all channels. |
|
uint32: 1 |
bSharpenWithoutColorShift |
Whether sharpening should prevent color shifts. |
|
uint32: 1 |
bSRGB |
Whether the texture contains color data in the sRGB colorspace. |
|
uint32: 1 |
bStreamable |
Can the texture be streamed |
|
uint32: 1 |
bTextureArray |
Whether the texture being built is a texture array. |
|
uint32: 1 |
bUseLegacyGamma |
Whether the texture should use the legacy gamma space for converting to sRGB |
|
uint32: 1 |
bVirtualStreamable |
Is the texture streamed using the VT system |
|
uint32: 1 |
bVirtualTextureEnableCompressCrunch |
Is crunch compression enabled |
|
uint32: 1 |
bVirtualTextureEnableCompressZlib |
Is zlib compression enabled |
|
uint32: 1 |
bVolume |
Whether the texture being built is a volume. |
|
ChromaKeyColor |
The color that will be replaced with transparent black if chroma keying is enabled |
|
|
float |
ChromaKeyThreshold |
The threshold that components have to match for the texel to be considered equal to the ChromaKeyColor when chroma keying (<=, set to 0 to require a perfect exact match) |
|
ColorAdjustment |
Color adjustment parameters. |
|
|
float |
CompositePower |
Default 1, high values result in a stronger effect |
|
CompositeTextureMode |
E.g. CTM_RoughnessFromNormalAlpha |
|
|
CompressionQuality |
The quality of the compression algorithm (min 0 - lowest quality, highest cook speed, 4 - highest quality, lowest cook speed) |
|
|
DiffuseConvolveMipLevel |
For angular filtered cubemaps, the mip level which contains convolution with the diffuse cosine lobe. |
|
|
float |
Downscale |
Values > 1.0 will scale down source texture. Ignored for textures with mips |
|
DownscaleOptions |
ETextureDownscaleOptions |
|
|
LODBias |
The source texture's final LOD bias (i.e. includes LODGroup based biases) |
|
|
LODBiasWithCinematicMips |
The source texture's final LOD bias (i.e. includes LODGroup based biases). |
|
|
LossyCompressionAmount |
ETextureLossyCompressionAmount |
|
|
MaxTextureResolution |
For maximum resolution. |
|
|
MipGenSettings |
Mipmap generation settings. |
|
|
float |
MipSharpening |
The desired amount of mip sharpening. |
|
PaddingColor |
The color used to pad the texture out if it is resized due to PowerOfTwoMode |
|
|
PowerOfTwoMode |
How to stretch or pad the texture to a power of 2 size (if necessary); ETexturePowerOfTwoSetting::Type, opaque to avoid dependencies on Engine headers. |
|
|
SharpenMipKernelSize |
The size of the kernel with which mips should be sharpened. |
|
|
TextureFormatName |
Format of the compressed texture, used to choose a compression DLL. |
|
|
TopMipSize |
The texture's top mip size without LODBias applied, should be moved into a separate struct together with bImageHasAlphaChannel |
|
|
VirtualAddressingModeX |
TextureAddress, opaque to avoid dependencies on engine headers. |
|
|
VirtualAddressingModeY |
||
|
VirtualTextureBorderSize |
Size in pixels of border on virtual texture tile |
|
|
VirtualTextureTileSize |
Size in pixels of virtual texture tile, not including border |
|
|
VolumeSizeZ |
The volume texture's top mip size Z without LODBias applied |
Name | Description | |
---|---|---|
|
FTextureBuildSettings() |
Default settings. |
Name | Description | ||
---|---|---|---|
|
GetGammaSpace() |