XII Release 0.1.0
Loading...
Searching...
No Matches
xiiPluginLoadFlags Struct Reference

Flags for loading a plugin. More...

#include <Plugin.h>

Classes

struct  Bits

Public Types

enum  Enum : StorageType { LoadCopy = XII_BIT(0) , PluginIsOptional = XII_BIT(1) , CustomDependency = XII_BIT(2) , Default = 0U }
using StorageType = xiiUInt8

Detailed Description

Flags for loading a plugin.

Member Enumeration Documentation

◆ Enum

enum xiiPluginLoadFlags::Enum : StorageType
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 XII_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:
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Configuration/Plugin.h