Plasma Engine  2.0
Loading...
Searching...
No Matches
plAssetFileExtensionWhitelist Class Reference

A global whitelist for file extension that may be used as certain asset types. More...

#include <AssetFileExtensionWhitelist.h>

Static Public Member Functions

static void AddAssetFileExtension (plStringView sAssetType, plStringView sAllowedFileExtension)
 
static bool IsFileOnAssetWhitelist (plStringView sAssetType, plStringView sFile)
 
static const plSet< plString > & GetAssetFileExtensions (plStringView sAssetType)
 

Detailed Description

A global whitelist for file extension that may be used as certain asset types.

UI elements etc. may use this whitelist to detect whether a selected file is a valid candidate for an asset slot


The documentation for this class was generated from the following files: