aboutsummaryrefslogtreecommitdiff
path: root/APEX_1.4/include/AssetPreviewScene.h
diff options
context:
space:
mode:
authorgit perforce import user <a@b>2016-10-25 12:29:14 -0600
committerSheikh Dawood Abdul Ajees <Sheikh Dawood Abdul Ajees>2016-10-25 18:56:37 -0500
commit3dfe2108cfab31ba3ee5527e217d0d8e99a51162 (patch)
treefa6485c169e50d7415a651bf838f5bcd0fd3bfbd /APEX_1.4/include/AssetPreviewScene.h
downloadphysx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.tar.xz
physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.zip
Initial commit:
PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @ 21275617 [CL 21300167]
Diffstat (limited to 'APEX_1.4/include/AssetPreviewScene.h')
-rw-r--r--APEX_1.4/include/AssetPreviewScene.h86
1 files changed, 86 insertions, 0 deletions
diff --git a/APEX_1.4/include/AssetPreviewScene.h b/APEX_1.4/include/AssetPreviewScene.h
new file mode 100644
index 00000000..721787f8
--- /dev/null
+++ b/APEX_1.4/include/AssetPreviewScene.h
@@ -0,0 +1,86 @@
+/*
+ * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
+ *
+ * NVIDIA CORPORATION and its licensors retain all intellectual property
+ * and proprietary rights in and to this software, related documentation
+ * and any modifications thereto. Any use, reproduction, disclosure or
+ * distribution of this software and related documentation without an express
+ * license agreement from NVIDIA CORPORATION is strictly prohibited.
+ */
+
+
+#ifndef ASSET_PREVIEW_SCENE_H
+#define ASSET_PREVIEW_SCENE_H
+
+/*!
+\file
+\brief classes Scene, SceneStats, SceneDesc
+*/
+
+#include "ApexDesc.h"
+#include "Renderable.h"
+#include "Context.h"
+#include "foundation/PxVec3.h"
+#include <ApexDefs.h>
+
+#if PX_PHYSICS_VERSION_MAJOR == 3
+#include "PxFiltering.h"
+#endif
+namespace physx
+{
+ class PxActor;
+ class PxScene;
+ class PxRenderBuffer;
+
+ class PxCpuDispatcher;
+ class PxGpuDispatcher;
+ class PxTaskManager;
+ class PxBaseTask;
+}
+
+namespace NvParameterized
+{
+class Interface;
+}
+
+namespace nvidia
+{
+namespace apex
+{
+
+PX_PUSH_PACK_DEFAULT
+
+
+/**
+\brief An APEX class for
+*/
+class AssetPreviewScene : public ApexInterface
+{
+public:
+ /**
+ \brief Sets the view matrix. Should be called whenever the view matrix needs to be updated.
+ */
+ virtual void setCameraMatrix(const PxMat44& viewTransform) = 0;
+
+ /**
+ \brief Returns the view matrix set by the user for the given viewID.
+ */
+ virtual PxMat44 getCameraMatrix() const = 0;
+
+ /**
+ \brief Sets whether the asset preview should simply show asset names or many other parameter values
+ */
+ virtual void setShowFullInfo(bool showFullInfo) = 0;
+
+ /**
+ \brief Get the bool which determines whether the asset preview shows just asset names or parameter values
+ */
+ virtual bool getShowFullInfo() const = 0;
+};
+
+
+PX_POP_PACK
+}
+} // end namespace nvidia::apex
+
+#endif // ASSET_PREVIEW_SCENE_H