//
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
namespace Brutal.JoltApi
{
///
///
/// 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.
///
///
/// C++:
/// Jolt/Physics/EPhysicsUpdateError.h:10
///
/// enum class EPhysicsUpdateError : uint32
///
///
[Flags]
public enum PhysicsUpdateError : uint
{
///
///
/// No errors
///
///
/// C++:
/// Jolt/Physics/EPhysicsUpdateError.h:12
///
/// None = 0
///
///
None = 0,
///
///
/// 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.
///
///
/// C++:
/// Jolt/Physics/EPhysicsUpdateError.h:13
///
/// ManifoldCacheFull = 1 << 0
///
///
ManifoldCacheFull = 1,
///
///
/// The body pair cache is full, this means that too many bodies contacted. Some contacts were ignored.
/// Increase inMaxBodyPairs in PhysicsSystem::Init.
///
///
/// C++:
/// Jolt/Physics/EPhysicsUpdateError.h:14
///
/// BodyPairCacheFull = 1 << 1
///
///
BodyPairCacheFull = 2,
///
///
/// The contact constraints buffer is full. Some contacts were ignored. Increase inMaxContactConstraints in
/// PhysicsSystem::Init.
///
///
/// C++:
/// Jolt/Physics/EPhysicsUpdateError.h:15
///
/// ContactConstraintsFull = 1 << 2
///
///
ContactConstraintsFull = 4,
}
}