Plasma Engine  2.0
Loading...
Searching...
No Matches
plPluginLoadFlags Struct Reference

Flags for loading a plugin. More...

#include <Plugin.h>

Classes

struct  Bits
 

Public Types

enum  Enum { LoadCopy = PL_BIT(0) , PluginIsOptional = PL_BIT(1) , CustomDependency = PL_BIT(2) , Default = 0 }
 
using StorageType = plUInt8
 

Detailed Description

Flags for loading a plugin.

Member Enumeration Documentation

◆ Enum

Enumerator
LoadCopy 

Don't load a DLL directly, but create a copy of the file and load that instead. This allows to continue working on (and compiling) the DLL in parallel.

PluginIsOptional 

When an optional plugin can't be loaded (missing file usually), no error is logged. LoadPlugin() will still return PL_FAILURE though.

CustomDependency 

The plugin is an injected dependency (usually for the editor), and thus might get treated differently (this is just a tag)


The documentation for this struct was generated from the following file: