MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetInstanceSize

Method GetInstanceSize

Source/Engine/Scripting/Runtime/DotNet.cpp:1054–1061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1052}
1053
1054uint32 MClass::GetInstanceSize() const
1055{
1056 if (_size != 0)
1057 return _size;
1058 static void* NativeSizeOfPtr = GetStaticMethodPointer(TEXT("NativeSizeOf"));
1059 _size = CallStaticMethod<int, void*>(NativeSizeOfPtr, _handle);
1060 return _size;
1061}
1062
1063MClass* MClass::GetElementClass() const
1064{

Callers 2

WriteValueMethod · 0.45
GetSizeMethod · 0.45

Calls 1

GetStaticMethodPointerFunction · 0.85

Tested by

no test coverage detected