mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 14:38:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
170
brutal.jolt/Brutal.Jolt/Generated/PInvoke/RTTI.gen.cs
Normal file
170
brutal.jolt/Brutal.Jolt/Generated/PInvoke/RTTI.gen.cs
Normal file
|
|
@ -0,0 +1,170 @@
|
|||
// <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/Core/RTTI.h#L138">Jolt/Core/RTTI.h:138</see>
|
||||
/// <br/>
|
||||
/// <c>inline const char * GetName() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Properties
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "RTTI_GetName")]
|
||||
public static partial byte* RTTI_GetName(RTTI self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/RTTI.h#L139">Jolt/Core/RTTI.h:139</see>
|
||||
/// <br/>
|
||||
/// <c>void SetName(const char *inName)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "RTTI_SetName")]
|
||||
public static partial void RTTI_SetName(RTTI self, byte* name);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/RTTI.h#L140">Jolt/Core/RTTI.h:140</see>
|
||||
/// <br/>
|
||||
/// <c>inline int GetSize() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "RTTI_GetSize")]
|
||||
public static partial int RTTI_GetSize(RTTI self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/RTTI.h#L141">Jolt/Core/RTTI.h:141</see>
|
||||
/// <br/>
|
||||
/// <c>bool IsAbstract() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "RTTI_IsAbstract")]
|
||||
public static partial Brutal.Bool8 RTTI_IsAbstract(RTTI self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/RTTI.h#L142">Jolt/Core/RTTI.h:142</see>
|
||||
/// <br/>
|
||||
/// <c>int GetBaseClassCount() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "RTTI_GetBaseClassCount")]
|
||||
public static partial int RTTI_GetBaseClassCount(RTTI self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/RTTI.h#L143">Jolt/Core/RTTI.h:143</see>
|
||||
/// <br/>
|
||||
/// <c>const RTTI * GetBaseClass(int inIdx) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// The returned handle is borrowed from its owner; don't Dispose it.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "RTTI_GetBaseClass")]
|
||||
public static partial RTTI RTTI_GetBaseClass(RTTI self, int idx);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/RTTI.h#L144">Jolt/Core/RTTI.h:144</see>
|
||||
/// <br/>
|
||||
/// <c>uint32 GetHash() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[LibraryImport("jolt", EntryPoint = "RTTI_GetHash")]
|
||||
public static partial uint RTTI_GetHash(RTTI self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/RTTI.h#L147">Jolt/Core/RTTI.h:147</see>
|
||||
/// <br/>
|
||||
/// <c>void * CreateObject() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Create an object of this type (returns nullptr if the object is abstract)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "RTTI_CreateObject")]
|
||||
public static partial void* RTTI_CreateObject(RTTI self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/RTTI.h#L150">Jolt/Core/RTTI.h:150</see>
|
||||
/// <br/>
|
||||
/// <c>void DestructObject(void *inObject) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Destruct object of this type (does nothing if the object is abstract)
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "RTTI_DestructObject")]
|
||||
public static partial void RTTI_DestructObject(RTTI self, void* @object);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/RTTI.h#L153">Jolt/Core/RTTI.h:153</see>
|
||||
/// <br/>
|
||||
/// <c>void AddBaseClass(const RTTI *inRTTI, int inOffset)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Add base class
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "RTTI_AddBaseClass")]
|
||||
public static partial void RTTI_AddBaseClass(RTTI self, RTTI rTTI, int offset);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/RTTI.h#L160">Jolt/Core/RTTI.h:160</see>
|
||||
/// <br/>
|
||||
/// <c>bool IsKindOf(const RTTI *inRTTI) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Test if this class is derived from class of type inRTTI
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "RTTI_IsKindOf")]
|
||||
public static partial Brutal.Bool8 RTTI_IsKindOf(RTTI self, RTTI rTTI);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/RTTI.h#L163">Jolt/Core/RTTI.h:163</see>
|
||||
/// <br/>
|
||||
/// <c>const void * CastTo(const void *inObject, const RTTI *inRTTI) const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Cast inObject of this type to object of type inRTTI, returns nullptr if the cast is unsuccessful
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "RTTI_CastTo")]
|
||||
public static partial void* RTTI_CastTo(RTTI self, void* @object, RTTI rTTI);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue