Plasma Engine  2.0
Loading...
Searching...
No Matches
SoundBankAsset.h
1#pragma once
2
3#include <EditorFramework/Assets/SimpleAssetDocument.h>
4
6{
7 PL_ADD_DYNAMIC_REFLECTION(plSoundBankAssetProperties, plReflectedClass);
8
9public:
11
12 plString m_sSoundBank;
13};
14
15class plSoundBankAssetDocument : public plSimpleAssetDocument<plSoundBankAssetProperties>
16{
18
19public:
21
22protected:
23 virtual void UpdateAssetDocumentInfo(plAssetDocumentInfo* pInfo) const override;
24 virtual plTransformStatus InternalTransformAsset(plStreamWriter& stream, plStringView sOutputTag, const plPlatformProfile* pAssetProfile,
25 const plAssetFileHeader& AssetHeader, plBitflags<plTransformFlags> transformFlags) override;
26};
Definition AssetDocumentInfo.h:7
Simple class to handle asset file headers (the very first bytes in all transformed asset files)
Definition AssetFileHeader.h:8
Definition PlatformProfile.h:25
All classes that should be dynamically reflectable, need to be derived from this base class.
Definition DynamicRTTI.h:86
Definition SimpleAssetDocument.h:23
Definition SoundBankAsset.h:16
virtual void UpdateAssetDocumentInfo(plAssetDocumentInfo *pInfo) const override
Override this to add custom data (e.g. additional file dependencies) to the info struct.
Definition SoundBankAsset.cpp:26
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 SoundBankAsset.cpp:35
Definition SoundBankAsset.h:6
Interface for binary out (write) streams.
Definition Stream.h:107
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
The plBitflags class allows you to work with type-safe bitflags.
Definition Bitflags.h:82
Definition Declarations.h:114