brutal/brutal.jolt/Brutal.Jolt/Generated/PInvoke/JobSystemSingleThreaded.gen.cs
2026-10-15 14:12:02 +13:00

75 lines
3.6 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
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/JobSystemSingleThreaded.h#L19">Jolt/Core/JobSystemSingleThreaded.h:19</see>
/// <br/>
/// <c>JobSystemSingleThreaded() = default</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Constructor
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "JobSystemSingleThreaded_Create")]
public static partial JobSystemSingleThreaded JobSystemSingleThreaded_Create();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/JobSystemSingleThreaded.h#L20">Jolt/Core/JobSystemSingleThreaded.h:20</see>
/// <br/>
/// <c>explicit JobSystemSingleThreaded(uint inMaxJobs)</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "JobSystemSingleThreaded_Create_2")]
public static partial JobSystemSingleThreaded JobSystemSingleThreaded_Create_2(uint maxJobs);
[LibraryImport("jolt", EntryPoint = "JobSystemSingleThreaded_Destroy")]
public static partial void JobSystemSingleThreaded_Destroy(JobSystemSingleThreaded self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/JobSystemSingleThreaded.h#L24">Jolt/Core/JobSystemSingleThreaded.h:24</see>
/// <br/>
/// <c>void Init(uint inMaxJobs)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Initialize the job system
/// @param inMaxJobs Max number of jobs that can be allocated at any time
/// </code>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "JobSystemSingleThreaded_Init")]
public static partial void JobSystemSingleThreaded_Init(JobSystemSingleThreaded self, uint maxJobs);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/JobSystemSingleThreaded.h#L27">Jolt/Core/JobSystemSingleThreaded.h:27</see>
/// <br/>
/// <c>virtual int GetMaxConcurrency() const override</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See JobSystem
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "JobSystemSingleThreaded_GetMaxConcurrency")]
public static partial int JobSystemSingleThreaded_GetMaxConcurrency(JobSystemSingleThreaded self);
[LibraryImport("jolt", EntryPoint = "JobSystemSingleThreaded_AsJobSystem")]
public static partial JobSystem JobSystemSingleThreaded_AsJobSystem(JobSystemSingleThreaded self);
}
}
}