mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 21:18:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,52 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/JobSystemWithBarrier.h#L23">Jolt/Core/JobSystemWithBarrier.h:23</see>
|
||||
/// <br/>
|
||||
/// <c>class JobSystemWithBarrier : public JobSystem</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Implementation of the Barrier class for a JobSystem
|
||||
///
|
||||
/// This class can be used to make it easier to create a new JobSystem implementation that integrates with your own job system.
|
||||
/// It will implement all functionality relating to barriers, so the only functions that are left to be implemented are:
|
||||
///
|
||||
/// * JobSystem::GetMaxConcurrency
|
||||
/// * JobSystem::CreateJob
|
||||
/// * JobSystem::FreeJob
|
||||
/// * JobSystem::QueueJob/QueueJobs
|
||||
///
|
||||
/// See instructions in JobSystem for more information on how to implement these.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[InteropHandle]
|
||||
public readonly partial struct JobSystemWithBarrier
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/JobSystemWithBarrier.h#L36">Jolt/Core/JobSystemWithBarrier.h:36</see>
|
||||
/// <br/>
|
||||
/// <c>void Init(uint inMaxBarriers)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Initialize the barriers
|
||||
/// @param inMaxBarriers Max number of barriers that can be allocated at any time
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public void Init(uint maxBarriers) => Jolt.PInvoke.JobSystemWithBarrier_Init(this, maxBarriers);
|
||||
public static implicit operator JobSystem(JobSystemWithBarrier value) => Jolt.PInvoke.JobSystemWithBarrier_AsJobSystem(value);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue