brutal/Brutal.Jolt/Generated/Enums/PhysicsUpdateError.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

77 lines
3.1 KiB
C#

// <auto-generated/>
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
namespace Brutal.JoltApi
{
/// <summary>
/// <para>
/// Enum used by PhysicsSystem to report error conditions during the PhysicsSystem::Update call. This is a bit
/// field, multiple errors can trigger in the same update.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/EPhysicsUpdateError.h#L10">Jolt/Physics/EPhysicsUpdateError.h:10</see>
/// <br/>
/// <c>enum class EPhysicsUpdateError : uint32</c>
/// </para>
/// </summary>
[Flags]
public enum PhysicsUpdateError : uint
{
/// <summary>
/// <para>
/// No errors
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/EPhysicsUpdateError.h#L12">Jolt/Physics/EPhysicsUpdateError.h:12</see>
/// <br/>
/// <c>None = 0</c>
/// </para>
/// </summary>
None = 0,
/// <summary>
/// <para>
/// The manifold cache is full, this means that the total number of contacts between bodies is too high.
/// Some contacts were ignored. Increase inMaxContactConstraints in PhysicsSystem::Init.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/EPhysicsUpdateError.h#L13">Jolt/Physics/EPhysicsUpdateError.h:13</see>
/// <br/>
/// <c>ManifoldCacheFull = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
ManifoldCacheFull = 1,
/// <summary>
/// <para>
/// The body pair cache is full, this means that too many bodies contacted. Some contacts were ignored.
/// Increase inMaxBodyPairs in PhysicsSystem::Init.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/EPhysicsUpdateError.h#L14">Jolt/Physics/EPhysicsUpdateError.h:14</see>
/// <br/>
/// <c>BodyPairCacheFull = 1 &lt;&lt; 1</c>
/// </para>
/// </summary>
BodyPairCacheFull = 2,
/// <summary>
/// <para>
/// The contact constraints buffer is full. Some contacts were ignored. Increase inMaxContactConstraints in
/// PhysicsSystem::Init.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Physics/EPhysicsUpdateError.h#L15">Jolt/Physics/EPhysicsUpdateError.h:15</see>
/// <br/>
/// <c>ContactConstraintsFull = 1 &lt;&lt; 2</c>
/// </para>
/// </summary>
ContactConstraintsFull = 4,
}
}