// // 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/Geometry/IndexedTriangle.h:85 ///
/// constexpr IndexedTriangle(uint32 inI1, uint32 inI2, uint32 inI3, uint32 inMaterialIndex, uint inUserData = 0) : IndexedTriangleNoMaterial(inI1, inI2, inI3), mMaterialIndex(inMaterialIndex), mUserData(inUserData) { } ///
///
/// /// /// Constructor /// /// [LibraryImport("jolt", EntryPoint = "IndexedTriangle_Create")] public static partial IndexedTriangle IndexedTriangle_Create(uint i1, uint i2, uint i3, uint materialIndex, uint userData); [LibraryImport("jolt", EntryPoint = "IndexedTriangle_Destroy")] public static partial void IndexedTriangle_Destroy(IndexedTriangle self); /// /// /// C++: /// Jolt/Geometry/IndexedTriangle.h:113 ///
/// uint64 GetHash() const ///
///
/// /// /// Get the hash value of this structure /// /// [LibraryImport("jolt", EntryPoint = "IndexedTriangle_GetHash")] public static partial ulong IndexedTriangle_GetHash(IndexedTriangle self); /// /// /// C++: /// Jolt/Geometry/IndexedTriangle.h:119 ///
/// uint32 mMaterialIndex = 0 ///
///
[LibraryImport("jolt", EntryPoint = "IndexedTriangle_GetMaterialIndex")] public static partial uint IndexedTriangle_GetMaterialIndex(IndexedTriangle self); /// /// /// C++: /// Jolt/Geometry/IndexedTriangle.h:119 ///
/// uint32 mMaterialIndex = 0 ///
///
[LibraryImport("jolt", EntryPoint = "IndexedTriangle_SetMaterialIndex")] public static partial void IndexedTriangle_SetMaterialIndex(IndexedTriangle self, uint value); /// /// /// User data that can be used for anything by the application, e.g. for tracking the original index of /// the triangle /// /// /// C++: /// Jolt/Geometry/IndexedTriangle.h:120 ///
/// uint32 mUserData = 0 ///
///
[LibraryImport("jolt", EntryPoint = "IndexedTriangle_GetUserData")] public static partial uint IndexedTriangle_GetUserData(IndexedTriangle self); /// /// /// User data that can be used for anything by the application, e.g. for tracking the original index of /// the triangle /// /// /// C++: /// Jolt/Geometry/IndexedTriangle.h:120 ///
/// uint32 mUserData = 0 ///
///
[LibraryImport("jolt", EntryPoint = "IndexedTriangle_SetUserData")] public static partial void IndexedTriangle_SetUserData(IndexedTriangle self, uint value); [LibraryImport("jolt", EntryPoint = "IndexedTriangle_AsIndexedTriangleNoMaterial")] public static partial IndexedTriangleNoMaterial IndexedTriangle_AsIndexedTriangleNoMaterial(IndexedTriangle self); } } }