// // 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 { /// /// /// C++: /// Jolt/Physics/Collision/Shape/Shape.h:148 ///
/// ///
///
/// /// /// The returned handle is borrowed from its owner; don't Dispose it. /// /// [LibraryImport("jolt", EntryPoint = "ShapeSettings_GetRTTI")] public static partial RTTI ShapeSettings_GetRTTI(ShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/Shape.h:148 ///
/// ///
///
[LibraryImport("jolt", EntryPoint = "ShapeSettings_CastTo")] public static partial void* ShapeSettings_CastTo(ShapeSettings self, RTTI rTTI); /// /// /// C++: /// Jolt/Physics/Collision/Shape/Shape.h:154 ///
/// virtual ShapeResult Create() const = 0 ///
///
/// /// /// Create a shape according to the settings specified by this object. /// /// /// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message. /// /// [LibraryImport("jolt", EntryPoint = "ShapeSettings_CreateShape")] public static partial Shape ShapeSettings_CreateShape(ShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/Shape.h:158 ///
/// void ClearCachedResult() ///
///
/// /// /// When creating a shape, the result is cached so that calling Create() again will return the same shape. /// If you make changes to the ShapeSettings you need to call this function to clear the cached result to allow Create() to build a new shape. /// /// [LibraryImport("jolt", EntryPoint = "ShapeSettings_ClearCachedResult")] public static partial void ShapeSettings_ClearCachedResult(ShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/Shape.h:161 ///
/// uint64 mUserData = 0 ///
///
/// /// /// User data (to be used freely by the application) /// /// [LibraryImport("jolt", EntryPoint = "ShapeSettings_GetUserData")] public static partial ulong ShapeSettings_GetUserData(ShapeSettings self); /// /// /// C++: /// Jolt/Physics/Collision/Shape/Shape.h:161 ///
/// uint64 mUserData = 0 ///
///
/// /// /// User data (to be used freely by the application) /// /// [LibraryImport("jolt", EntryPoint = "ShapeSettings_SetUserData")] public static partial void ShapeSettings_SetUserData(ShapeSettings self, ulong value); [LibraryImport("jolt", EntryPoint = "ShapeSettings_AddRef")] public static partial void ShapeSettings_AddRef(ShapeSettings self); [LibraryImport("jolt", EntryPoint = "ShapeSettings_Release")] public static partial void ShapeSettings_Release(ShapeSettings self); [LibraryImport("jolt", EntryPoint = "ShapeSettings_GetRefCount")] public static partial uint ShapeSettings_GetRefCount(ShapeSettings self); } } }