brutal/brutal.jolt/Brutal.Jolt/Generated/PInvoke/IndexedTriangle.gen.cs
2026-10-15 14:12:02 +13:00

97 lines
5 KiB
C#

// <auto-generated/>
// 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
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/IndexedTriangle.h#L85">Jolt/Geometry/IndexedTriangle.h:85</see>
/// <br/>
/// <c>constexpr IndexedTriangle(uint32 inI1, uint32 inI2, uint32 inI3, uint32 inMaterialIndex, uint inUserData = 0) : IndexedTriangleNoMaterial(inI1, inI2, inI3), mMaterialIndex(inMaterialIndex), mUserData(inUserData) { }</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Constructor
/// </para>
/// </remarks>
[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);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/IndexedTriangle.h#L113">Jolt/Geometry/IndexedTriangle.h:113</see>
/// <br/>
/// <c>uint64 GetHash() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Get the hash value of this structure
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "IndexedTriangle_GetHash")]
public static partial ulong IndexedTriangle_GetHash(IndexedTriangle self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/IndexedTriangle.h#L119">Jolt/Geometry/IndexedTriangle.h:119</see>
/// <br/>
/// <c>uint32 mMaterialIndex = 0</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "IndexedTriangle_GetMaterialIndex")]
public static partial uint IndexedTriangle_GetMaterialIndex(IndexedTriangle self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/IndexedTriangle.h#L119">Jolt/Geometry/IndexedTriangle.h:119</see>
/// <br/>
/// <c>uint32 mMaterialIndex = 0</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "IndexedTriangle_SetMaterialIndex")]
public static partial void IndexedTriangle_SetMaterialIndex(IndexedTriangle self, uint value);
/// <summary>
/// <para>
/// User data that can be used for anything by the application, e.g. for tracking the original index of
/// the triangle
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/IndexedTriangle.h#L120">Jolt/Geometry/IndexedTriangle.h:120</see>
/// <br/>
/// <c>uint32 mUserData = 0</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "IndexedTriangle_GetUserData")]
public static partial uint IndexedTriangle_GetUserData(IndexedTriangle self);
/// <summary>
/// <para>
/// User data that can be used for anything by the application, e.g. for tracking the original index of
/// the triangle
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/IndexedTriangle.h#L120">Jolt/Geometry/IndexedTriangle.h:120</see>
/// <br/>
/// <c>uint32 mUserData = 0</c>
/// </para>
/// </summary>
[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);
}
}
}