mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
100 lines
4.2 KiB
C#
100 lines
4.2 KiB
C#
// <auto-generated/>
|
|
// 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);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/Factory.h#L19">Jolt/Core/Factory.h:19</see>
|
|
/// <br/>
|
|
/// <c>void * CreateObject(const char *inName)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Create an object
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "Factory_CreateObject")]
|
|
public static partial void* Factory_CreateObject(Factory self, byte* name);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/Factory.h#L22">Jolt/Core/Factory.h:22</see>
|
|
/// <br/>
|
|
/// <c>const RTTI * Find(const char *inName)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Find type info for a specific class by name
|
|
/// </para>
|
|
/// <para>
|
|
/// The returned handle is borrowed from its owner; don't Dispose it.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "Factory_Find")]
|
|
public static partial RTTI Factory_Find(Factory self, byte* name);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/Factory.h#L25">Jolt/Core/Factory.h:25</see>
|
|
/// <br/>
|
|
/// <c>const RTTI * Find(uint32 inHash)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Find type info for a specific class by hash
|
|
/// </para>
|
|
/// <para>
|
|
/// The returned handle is borrowed from its owner; don't Dispose it.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "Factory_Find_2")]
|
|
public static partial RTTI Factory_Find_2(Factory self, uint hash);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/Factory.h#L28">Jolt/Core/Factory.h:28</see>
|
|
/// <br/>
|
|
/// <c>bool Register(const RTTI *inRTTI)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Register an object with the factory. Returns false on failure.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "Factory_Register")]
|
|
public static partial Brutal.Bool8 Factory_Register(Factory self, RTTI rTTI);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/Factory.h#L34">Jolt/Core/Factory.h:34</see>
|
|
/// <br/>
|
|
/// <c>void Clear()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Unregisters all types
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "Factory_Clear")]
|
|
public static partial void Factory_Clear(Factory self);
|
|
}
|
|
}
|
|
}
|