Plasma Engine  2.0
Loading...
Searching...
No Matches
SurfaceAsset.h
1#pragma once
2
3#include <Core/Physics/SurfaceResource.h>
4#include <EditorFramework/Assets/SimpleAssetDocument.h>
5
6class plSurfaceAssetDocument : public plSimpleAssetDocument<plSurfaceResourceDescriptor>
7{
9
10public:
12
13protected:
14 virtual plTransformStatus InternalTransformAsset(plStreamWriter& stream, plStringView sOutputTag, const plPlatformProfile* pAssetProfile,
15 const plAssetFileHeader& AssetHeader, plBitflags<plTransformFlags> transformFlags) override;
16};
Simple class to handle asset file headers (the very first bytes in all transformed asset files)
Definition AssetFileHeader.h:8
Definition PlatformProfile.h:25
Definition SimpleAssetDocument.h:23
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
Definition SurfaceAsset.h:7
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 SurfaceAsset.cpp:13
The plBitflags class allows you to work with type-safe bitflags.
Definition Bitflags.h:82
Definition Declarations.h:114