//
// 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/Core/RTTI.h:138
///
/// inline const char * GetName() const
///
///
///
///
/// Properties
///
///
[LibraryImport("jolt", EntryPoint = "RTTI_GetName")]
public static partial byte* RTTI_GetName(RTTI self);
///
///
/// C++:
/// Jolt/Core/RTTI.h:139
///
/// void SetName(const char *inName)
///
///
[LibraryImport("jolt", EntryPoint = "RTTI_SetName")]
public static partial void RTTI_SetName(RTTI self, byte* name);
///
///
/// C++:
/// Jolt/Core/RTTI.h:140
///
/// inline int GetSize() const
///
///
[LibraryImport("jolt", EntryPoint = "RTTI_GetSize")]
public static partial int RTTI_GetSize(RTTI self);
///
///
/// C++:
/// Jolt/Core/RTTI.h:141
///
/// bool IsAbstract() const
///
///
[LibraryImport("jolt", EntryPoint = "RTTI_IsAbstract")]
public static partial Brutal.Bool8 RTTI_IsAbstract(RTTI self);
///
///
/// C++:
/// Jolt/Core/RTTI.h:142
///
/// int GetBaseClassCount() const
///
///
[LibraryImport("jolt", EntryPoint = "RTTI_GetBaseClassCount")]
public static partial int RTTI_GetBaseClassCount(RTTI self);
///
///
/// C++:
/// Jolt/Core/RTTI.h:143
///
/// const RTTI * GetBaseClass(int inIdx) const
///
///
///
///
/// The returned handle is borrowed from its owner; don't Dispose it.
///
///
[LibraryImport("jolt", EntryPoint = "RTTI_GetBaseClass")]
public static partial RTTI RTTI_GetBaseClass(RTTI self, int idx);
///
///
/// C++:
/// Jolt/Core/RTTI.h:144
///
/// uint32 GetHash() const
///
///
[LibraryImport("jolt", EntryPoint = "RTTI_GetHash")]
public static partial uint RTTI_GetHash(RTTI self);
///
///
/// C++:
/// Jolt/Core/RTTI.h:147
///
/// void * CreateObject() const
///
///
///
///
/// Create an object of this type (returns nullptr if the object is abstract)
///
///
[LibraryImport("jolt", EntryPoint = "RTTI_CreateObject")]
public static partial void* RTTI_CreateObject(RTTI self);
///
///
/// C++:
/// Jolt/Core/RTTI.h:150
///
/// void DestructObject(void *inObject) const
///
///
///
///
/// Destruct object of this type (does nothing if the object is abstract)
///
///
[LibraryImport("jolt", EntryPoint = "RTTI_DestructObject")]
public static partial void RTTI_DestructObject(RTTI self, void* @object);
///
///
/// C++:
/// Jolt/Core/RTTI.h:153
///
/// void AddBaseClass(const RTTI *inRTTI, int inOffset)
///
///
///
///
/// Add base class
///
///
[LibraryImport("jolt", EntryPoint = "RTTI_AddBaseClass")]
public static partial void RTTI_AddBaseClass(RTTI self, RTTI rTTI, int offset);
///
///
/// C++:
/// Jolt/Core/RTTI.h:160
///
/// bool IsKindOf(const RTTI *inRTTI) const
///
///
///
///
/// Test if this class is derived from class of type inRTTI
///
///
[LibraryImport("jolt", EntryPoint = "RTTI_IsKindOf")]
public static partial Brutal.Bool8 RTTI_IsKindOf(RTTI self, RTTI rTTI);
///
///
/// C++:
/// Jolt/Core/RTTI.h:163
///
/// const void * CastTo(const void *inObject, const RTTI *inRTTI) const
///
///
///
///
/// Cast inObject of this type to object of type inRTTI, returns nullptr if the cast is unsuccessful
///
///
[LibraryImport("jolt", EntryPoint = "RTTI_CastTo")]
public static partial void* RTTI_CastTo(RTTI self, void* @object, RTTI rTTI);
}
}
}