mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
110 lines
5.3 KiB
C#
110 lines
5.3 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/Physics/Collision/PhysicsMaterial.h#L28">Jolt/Physics/Collision/PhysicsMaterial.h:28</see>
|
|
/// <br/>
|
|
/// <c>PhysicsMaterial() = default</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Constructor
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PhysicsMaterial_Create")]
|
|
public static partial PhysicsMaterial PhysicsMaterial_Create();
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/PhysicsMaterial.h#L24">Jolt/Physics/Collision/PhysicsMaterial.h:24</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// The returned handle is borrowed from its owner; don't Dispose it.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PhysicsMaterial_GetRTTI")]
|
|
public static partial RTTI PhysicsMaterial_GetRTTI(PhysicsMaterial self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/PhysicsMaterial.h#L24">Jolt/Physics/Collision/PhysicsMaterial.h:24</see>
|
|
/// <br/>
|
|
/// <c></c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("jolt", EntryPoint = "PhysicsMaterial_CastTo")]
|
|
public static partial void* PhysicsMaterial_CastTo(PhysicsMaterial self, RTTI rTTI);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/PhysicsMaterial.h#L35">Jolt/Physics/Collision/PhysicsMaterial.h:35</see>
|
|
/// <br/>
|
|
/// <c>virtual const char * GetDebugName() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Properties
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PhysicsMaterial_GetDebugName")]
|
|
public static partial byte* PhysicsMaterial_GetDebugName(PhysicsMaterial self);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/PhysicsMaterial.h#L39">Jolt/Physics/Collision/PhysicsMaterial.h:39</see>
|
|
/// <br/>
|
|
/// <c>virtual void SaveBinaryState(StreamOut &inStream) const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Saves the contents of the material in binary form to inStream.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PhysicsMaterial_SaveBinaryState")]
|
|
public static partial void PhysicsMaterial_SaveBinaryState(PhysicsMaterial self, StreamOut stream);
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Physics/Collision/PhysicsMaterial.h#L44">Jolt/Physics/Collision/PhysicsMaterial.h:44</see>
|
|
/// <br/>
|
|
/// <c>static PhysicsMaterialResult sRestoreFromBinaryState(StreamIn &inStream)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Creates a PhysicsMaterial of the correct type and restores its contents from the binary stream
|
|
/// inStream.
|
|
/// </para>
|
|
/// <para>
|
|
/// Returns a null handle when the operation fails; call Jolt.GetLastError() for Jolt's error message.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("jolt", EntryPoint = "PhysicsMaterial_sRestoreFromBinaryState")]
|
|
public static partial PhysicsMaterial PhysicsMaterial_sRestoreFromBinaryState(StreamIn stream);
|
|
[LibraryImport("jolt", EntryPoint = "PhysicsMaterial_AddRef")]
|
|
public static partial void PhysicsMaterial_AddRef(PhysicsMaterial self);
|
|
[LibraryImport("jolt", EntryPoint = "PhysicsMaterial_Release")]
|
|
public static partial void PhysicsMaterial_Release(PhysicsMaterial self);
|
|
[LibraryImport("jolt", EntryPoint = "PhysicsMaterial_GetRefCount")]
|
|
public static partial uint PhysicsMaterial_GetRefCount(PhysicsMaterial self);
|
|
}
|
|
}
|
|
}
|