#include "Headers/PhysX.h"
#include "Headers/PhysXActor.h"
#include "Headers/PhysXSceneInterface.h"
#include "Graphs/Headers/SceneGraphNode.h"
#include "Scenes/Headers/Scene.h"
#include "Utility/Headers/Localization.h"
#include "ECS/Components/Headers/BoundsComponent.h"
#include "ECS/Components/Headers/RigidBodyComponent.h"
#include "ECS/Components/Headers/TransformComponent.h"
#include "Platform/File/Headers/FileManagement.h"
#include "Platform/File/Headers/ResourcePath.h"
#include "Platform/Headers/PlatformDataTypes.h"
#include "Platform/Headers/PlatformDefines.h"
#include "Platform/Threading/Headers/SharedMutex.h"
#include "Platform/Video/Buffers/VertexBuffer/Headers/VertexBuffer.h"
#include "Core/Headers/ErrorCodes.h"
#include "Core/Headers/PlatformContextComponent.h"
#include "Core/Headers/Profiler.h"
#include "Core/Math/Headers/Ray.h"
#include "Geometry/Shapes/Headers/Object3D.h"
#include "Environment/Terrain/Headers/Terrain.h"
#include "Environment/Vegetation/Headers/Vegetation.h"
#include <cassert>
#include <common/PxBase.h>
#include <config.h>
#include <cooking/PxCooking.h>
#include <cooking/PxTriangleMeshDesc.h>
#include <extensions/PxDefaultAllocator.h>
#include <extensions/PxDefaultStreams.h>
#include <extensions/PxRigidActorExt.h>
#include <foundation/Px.h>
#include <foundation/PxErrorCallback.h>
#include <foundation/PxErrors.h>
#include <foundation/PxFoundation.h>
#include <foundation/PxPreprocessor.h>
#include <foundation/PxSimpleTypes.h>
#include <geometry/PxBoxGeometry.h>
#include <geometry/PxGeometry.h>
#include <geometry/PxMeshScale.h>
#include <geometry/PxTriangleMesh.h>
#include <geometry/PxTriangleMeshGeometry.h>
#include <Graphs/Headers/SceneNodeFwd.h>
#include <Physics/Headers/PhysicsAPIWrapper.h>
#include <Physics/Headers/PhysicsAsset.h>
#include <PxPhysics.h>
#include <PxRigidBody.h>
#include <PxRigidDynamic.h>
#include <PxRigidStatic.h>
#include <PxShape.h>
#include <utility>
#include <extensions/PxExtensionsAPI.h>
#include <pvd/PxPvd.h>
#include <pvd/PxPvdTransport.h>
#include <foundation/PxPhysicsVersion.h>
#include <cudamanager/PxCudaContextManager.h>
#include <common/PxTolerancesScale.h>
#include <PxDeletionListener.h>
Go to the source code of this file.
|
#define | SAFE_RELEASE(X) if (X != nullptr) { X->release(); X = nullptr;} static_assert(true, "") |
|
◆ SAFE_RELEASE
#define SAFE_RELEASE |
( |
|
X | ) |
if (X != nullptr) { X->release(); X = nullptr;} static_assert(true, "") |