UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RecastDump.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2// Modified version of Recast/Detour's source file
3
4//
5// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
6//
7// This software is provided 'as-is', without any express or implied
8// warranty. In no event will the authors be held liable for any damages
9// arising from the use of this software.
10// Permission is granted to anyone to use this software for any purpose,
11// including commercial applications, and to alter it and redistribute it
12// freely, subject to the following restrictions:
13// 1. The origin of this software must not be misrepresented; you must not
14// claim that you wrote the original software. If you use this software
15// in a product, an acknowledgment in the product documentation would be
16// appreciated but is not required.
17// 2. Altered source versions must be plainly marked as such, and must not be
18// misrepresented as being the original software.
19// 3. This notice may not be removed or altered from any source distribution.
20//
21
22#ifndef RECAST_DUMP_H
23#define RECAST_DUMP_H
24
25#include "CoreMinimal.h"
26#include "HAL/PlatformCrt.h"
27
28class rcContext;
29
31{
32 virtual ~duFileIO() = 0;
33 virtual bool isWriting() const = 0;
34 virtual bool isReading() const = 0;
35 virtual bool write(const void* ptr, const size_t size) = 0;
36 virtual bool read(void* ptr, const size_t size) = 0;
37};
38
41
44
47
48void duLogBuildTimes(rcContext& ctx, const int totalTileUsec);
49
50
51#endif // RECAST_DUMP_H
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
bool duDumpPolyMeshToObj(struct rcPolyMesh &pmesh, duFileIO *io)
Definition RecastDump.cpp:44
bool duDumpPolyMeshDetailToObj(struct rcPolyMeshDetail &dmesh, duFileIO *io)
Definition RecastDump.cpp:91
void duLogBuildTimes(rcContext &ctx, const int totalTileUsec)
Definition RecastDump.cpp:418
bool duDumpContourSet(struct rcContourSet &cset, duFileIO *io)
Definition RecastDump.cpp:139
bool duReadContourSet(struct rcContourSet &cset, duFileIO *io)
Definition RecastDump.cpp:181
bool duReadCompactHeightfield(struct rcCompactHeightfield &chf, duFileIO *io)
Definition RecastDump.cpp:316
bool duDumpCompactHeightfield(struct rcCompactHeightfield &chf, duFileIO *io)
Definition RecastDump.cpp:263
Definition Recast.h:165
Definition RecastDump.h:31
virtual ~duFileIO()=0
Definition RecastDump.cpp:28
virtual bool isReading() const =0
virtual bool isWriting() const =0
virtual bool write(const void *ptr, const size_t size)=0
virtual bool read(void *ptr, const size_t size)=0
Definition Recast.h:447
Definition Recast.h:510
Definition Recast.h:560
Definition Recast.h:539