//
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
public static partial class Jolt
{
public static unsafe partial class PInvoke
{
[LibraryImport("jolt", EntryPoint = "Factory_Create")]
public static partial Factory Factory_Create();
[LibraryImport("jolt", EntryPoint = "Factory_Destroy")]
public static partial void Factory_Destroy(Factory self);
///
///
/// C++:
/// Jolt/Core/Factory.h:19
///
/// void * CreateObject(const char *inName)
///
///
///
///
/// Create an object
///
///
[LibraryImport("jolt", EntryPoint = "Factory_CreateObject")]
public static partial void* Factory_CreateObject(Factory self, byte* name);
///
///
/// C++:
/// Jolt/Core/Factory.h:22
///
/// const RTTI * Find(const char *inName)
///
///
///
///
/// Find type info for a specific class by name
///
///
/// The returned handle is borrowed from its owner; don't Dispose it.
///
///
[LibraryImport("jolt", EntryPoint = "Factory_Find")]
public static partial RTTI Factory_Find(Factory self, byte* name);
///
///
/// C++:
/// Jolt/Core/Factory.h:25
///
/// const RTTI * Find(uint32 inHash)
///
///
///
///
/// Find type info for a specific class by hash
///
///
/// The returned handle is borrowed from its owner; don't Dispose it.
///
///
[LibraryImport("jolt", EntryPoint = "Factory_Find_2")]
public static partial RTTI Factory_Find_2(Factory self, uint hash);
///
///
/// C++:
/// Jolt/Core/Factory.h:28
///
/// bool Register(const RTTI *inRTTI)
///
///
///
///
/// Register an object with the factory. Returns false on failure.
///
///
[LibraryImport("jolt", EntryPoint = "Factory_Register")]
public static partial Brutal.Bool8 Factory_Register(Factory self, RTTI rTTI);
///
///
/// C++:
/// Jolt/Core/Factory.h:34
///
/// void Clear()
///
///
///
///
/// Unregisters all types
///
///
[LibraryImport("jolt", EntryPoint = "Factory_Clear")]
public static partial void Factory_Clear(Factory self);
}
}
}