3#include <EditorFramework/Assets/SimpleAssetDocument.h>
4#include <Texture/TexConv/TexConvEnums.h>
8 using StorageType = plUInt8;
35 bool m_bEnabled =
true;
39 plUInt8 m_uiNumChannels = 1;
40 bool m_bPreserveAlphaCoverage =
false;
47 return m_bEnabled == other.m_bEnabled &&
48 m_CompressionMode == other.m_CompressionMode &&
49 m_Usage == other.m_Usage &&
50 m_uiNumChannels == other.m_uiNumChannels &&
51 m_MipmapMode == other.m_MipmapMode &&
52 m_bPreserveAlphaCoverage == other.m_bPreserveAlphaCoverage &&
53 m_sName == other.m_sName &&
54 m_sLabel == other.m_sLabel &&
55 m_Uuid == other.m_Uuid;
64 bool m_bEnabled =
true;
75 return m_bEnabled == other.m_bEnabled &&
76 m_sName == other.m_sName &&
79 m_Outputs == other.m_Outputs;
Definition AssetDocumentInfo.h:7
Definition DynamicArray.h:81
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
All classes that should be dynamically reflectable, need to be derived from this base class.
Definition DynamicRTTI.h:86
Definition SimpleAssetDocument.h:23
Interface for binary out (write) streams.
Definition Stream.h:107
plStringBuilder is a class that is meant for creating and modifying strings.
Definition StringBuilder.h:35
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
Definition SubstancePackageAsset.h:112
virtual plTransformStatus InternalTransformAsset(plStreamWriter &stream, plStringView sOutputTag, const plPlatformProfile *pAssetProfile, const plAssetFileHeader &AssetHeader, plBitflags< plTransformFlags > transformFlags) override
Override this and write the transformed file for the given szOutputTag into the given stream.
Definition SubstancePackageAsset.h:121
virtual void UpdateAssetDocumentInfo(plAssetDocumentInfo *pInfo) const override
Override this to add custom data (e.g. additional file dependencies) to the info struct.
Definition SubstancePackageAsset.cpp:511
Definition SubstancePackageAsset.h:87
Definition TextureAssetManager.h:8
This data type is the abstraction for 128-bit Uuid (also known as GUID) instances.
Definition Uuid.h:11
The plBitflags class allows you to work with type-safe bitflags.
Definition Bitflags.h:82
Used by plDocumentObjectManager::m_PropertyEvents.
Definition DocumentObjectManager.h:77
A custom enum implementation that allows to define the underlying storage type to control its memory ...
Definition Enum.h:37
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54
An plResult with an additional message for the reason of failure.
Definition Status.h:12
Definition SubstancePackageAsset.h:63
plUInt8 m_uiOutputHeight
In base 2.
Definition SubstancePackageAsset.h:69
plUInt8 m_uiOutputWidth
In base 2, e.g. 8 = 2^8 = 256.
Definition SubstancePackageAsset.h:68
Definition SubstancePackageAsset.h:34
Definition SubstancePackageAsset.h:7