// // Generated by Brutal.Jolt.Generate; do not edit by hand. #nullable enable using Brutal.Interop; using Brutal.Numerics; namespace Brutal.JoltApi { /// /// /// C++: /// Jolt/Core/JobSystemWithBarrier.h:23 ///
/// class JobSystemWithBarrier : public JobSystem ///
///
/// /// /// 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. /// /// [InteropHandle] public readonly partial struct JobSystemWithBarrier { /// /// /// C++: /// Jolt/Core/JobSystemWithBarrier.h:36 ///
/// void Init(uint inMaxBarriers) ///
///
/// /// /// Initialize the barriers /// @param inMaxBarriers Max number of barriers that can be allocated at any time /// /// public void Init(uint maxBarriers) => Jolt.PInvoke.JobSystemWithBarrier_Init(this, maxBarriers); public static implicit operator JobSystem(JobSystemWithBarrier value) => Jolt.PInvoke.JobSystemWithBarrier_AsJobSystem(value); } }