diff options
| author | sschirm <[email protected]> | 2016-12-23 14:20:36 +0100 |
|---|---|---|
| committer | sschirm <[email protected]> | 2016-12-23 14:56:17 +0100 |
| commit | ef6937e69e8ee3f409cf9d460d5ad300a65d5924 (patch) | |
| tree | 710426e8daa605551ce3f34b581897011101c30f /APEX_1.4/module/basicfs_legacy/include/autogen | |
| parent | Initial commit: (diff) | |
| download | physx-3.4-ef6937e69e8ee3f409cf9d460d5ad300a65d5924.tar.xz physx-3.4-ef6937e69e8ee3f409cf9d460d5ad300a65d5924.zip | |
PhysX 3.4 / APEX 1.4 release candidate @21506124
Diffstat (limited to 'APEX_1.4/module/basicfs_legacy/include/autogen')
30 files changed, 0 insertions, 7277 deletions
diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSActorParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSActorParams_0p0.h deleted file mode 100644 index 7e9e953e..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSActorParams_0p0.h +++ /dev/null @@ -1,233 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_AttractorFSActorParams_0p0_h -#define HEADER_AttractorFSActorParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace AttractorFSActorParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float initialPose[12]; - float initialScale; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0x45e3d998, 0xba60d2f4, 0x6021f101, 0xff67e267, }; - -} // namespace AttractorFSActorParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class AttractorFSActorParams_0p0 : public NvParameterized::NvParameters, public AttractorFSActorParams_0p0NS::ParametersStruct -{ -public: - AttractorFSActorParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~AttractorFSActorParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("AttractorFSActorParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(AttractorFSActorParams_0p0NS::checksum); - return AttractorFSActorParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const AttractorFSActorParams_0p0NS::ParametersStruct& parameters(void) const - { - AttractorFSActorParams_0p0* tmpThis = const_cast<AttractorFSActorParams_0p0*>(this); - return *(static_cast<AttractorFSActorParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - AttractorFSActorParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<AttractorFSActorParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class AttractorFSActorParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - AttractorFSActorParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(AttractorFSActorParams_0p0), AttractorFSActorParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, AttractorFSActorParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class AttractorFSActorParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(AttractorFSActorParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, AttractorFSActorParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, AttractorFSActorParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, AttractorFSActorParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class AttractorFSActorParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of AttractorFSActorParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (AttractorFSActorParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (AttractorFSActorParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (AttractorFSActorParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (AttractorFSActorParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (AttractorFSActorParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSActorParams_0p1.h b/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSActorParams_0p1.h deleted file mode 100644 index 34024f36..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSActorParams_0p1.h +++ /dev/null @@ -1,233 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_AttractorFSActorParams_0p1_h -#define HEADER_AttractorFSActorParams_0p1_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace AttractorFSActorParams_0p1NS -{ - - - -struct ParametersStruct -{ - - physx::PxTransform initialPose; - float initialScale; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0x4f2a3341, 0x2794b529, 0x17ac5081, 0xa5038a78, }; - -} // namespace AttractorFSActorParams_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class AttractorFSActorParams_0p1 : public NvParameterized::NvParameters, public AttractorFSActorParams_0p1NS::ParametersStruct -{ -public: - AttractorFSActorParams_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~AttractorFSActorParams_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("AttractorFSActorParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)1; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(AttractorFSActorParams_0p1NS::checksum); - return AttractorFSActorParams_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const AttractorFSActorParams_0p1NS::ParametersStruct& parameters(void) const - { - AttractorFSActorParams_0p1* tmpThis = const_cast<AttractorFSActorParams_0p1*>(this); - return *(static_cast<AttractorFSActorParams_0p1NS::ParametersStruct*>(tmpThis)); - } - - AttractorFSActorParams_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<AttractorFSActorParams_0p1NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class AttractorFSActorParams_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - AttractorFSActorParams_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(AttractorFSActorParams_0p1), AttractorFSActorParams_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, AttractorFSActorParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class AttractorFSActorParams_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(AttractorFSActorParams_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, AttractorFSActorParams_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, AttractorFSActorParams_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, AttractorFSActorParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class AttractorFSActorParams_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of AttractorFSActorParams_0p1 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (AttractorFSActorParams_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (AttractorFSActorParams_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (AttractorFSActorParams_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (AttractorFSActorParams_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (AttractorFSActorParams_0p1::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSAssetParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSAssetParams_0p0.h deleted file mode 100644 index 4f78e39f..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSAssetParams_0p0.h +++ /dev/null @@ -1,235 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_AttractorFSAssetParams_0p0_h -#define HEADER_AttractorFSAssetParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace AttractorFSAssetParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float boundaryFadePercentage; - float radius; - float constFieldStrength; - float variableFieldStrength; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0xcfa05f8f, 0x552c72d3, 0xecaee81f, 0xd2e7b308, }; - -} // namespace AttractorFSAssetParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class AttractorFSAssetParams_0p0 : public NvParameterized::NvParameters, public AttractorFSAssetParams_0p0NS::ParametersStruct -{ -public: - AttractorFSAssetParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~AttractorFSAssetParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("AttractorFSAssetParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(AttractorFSAssetParams_0p0NS::checksum); - return AttractorFSAssetParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const AttractorFSAssetParams_0p0NS::ParametersStruct& parameters(void) const - { - AttractorFSAssetParams_0p0* tmpThis = const_cast<AttractorFSAssetParams_0p0*>(this); - return *(static_cast<AttractorFSAssetParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - AttractorFSAssetParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<AttractorFSAssetParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class AttractorFSAssetParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - AttractorFSAssetParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(AttractorFSAssetParams_0p0), AttractorFSAssetParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, AttractorFSAssetParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class AttractorFSAssetParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(AttractorFSAssetParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, AttractorFSAssetParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, AttractorFSAssetParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, AttractorFSAssetParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class AttractorFSAssetParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of AttractorFSAssetParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (AttractorFSAssetParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (AttractorFSAssetParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (AttractorFSAssetParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (AttractorFSAssetParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (AttractorFSAssetParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSAssetParams_0p1.h b/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSAssetParams_0p1.h deleted file mode 100644 index 4233a9b3..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSAssetParams_0p1.h +++ /dev/null @@ -1,237 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_AttractorFSAssetParams_0p1_h -#define HEADER_AttractorFSAssetParams_0p1_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace AttractorFSAssetParams_0p1NS -{ - - - -struct ParametersStruct -{ - - float boundaryFadePercentage; - float radius; - float constFieldStrength; - float variableFieldStrength; - float fieldDragCoeff; - float fieldWeight; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0xa5c6fe76, 0x029893b4, 0x67ea6245, 0xb8f7fb2a, }; - -} // namespace AttractorFSAssetParams_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class AttractorFSAssetParams_0p1 : public NvParameterized::NvParameters, public AttractorFSAssetParams_0p1NS::ParametersStruct -{ -public: - AttractorFSAssetParams_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~AttractorFSAssetParams_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("AttractorFSAssetParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)1; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(AttractorFSAssetParams_0p1NS::checksum); - return AttractorFSAssetParams_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const AttractorFSAssetParams_0p1NS::ParametersStruct& parameters(void) const - { - AttractorFSAssetParams_0p1* tmpThis = const_cast<AttractorFSAssetParams_0p1*>(this); - return *(static_cast<AttractorFSAssetParams_0p1NS::ParametersStruct*>(tmpThis)); - } - - AttractorFSAssetParams_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<AttractorFSAssetParams_0p1NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class AttractorFSAssetParams_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - AttractorFSAssetParams_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(AttractorFSAssetParams_0p1), AttractorFSAssetParams_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, AttractorFSAssetParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class AttractorFSAssetParams_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(AttractorFSAssetParams_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, AttractorFSAssetParams_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, AttractorFSAssetParams_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, AttractorFSAssetParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class AttractorFSAssetParams_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of AttractorFSAssetParams_0p1 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (AttractorFSAssetParams_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (AttractorFSAssetParams_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (AttractorFSAssetParams_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (AttractorFSAssetParams_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (AttractorFSAssetParams_0p1::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSPreviewParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSPreviewParams_0p0.h deleted file mode 100644 index 7800e399..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/AttractorFSPreviewParams_0p0.h +++ /dev/null @@ -1,233 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_AttractorFSPreviewParams_0p0_h -#define HEADER_AttractorFSPreviewParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace AttractorFSPreviewParams_0p0NS -{ - - - -struct ParametersStruct -{ - - physx::PxMat44 globalPose; - bool drawShape; - bool drawAssetInfo; - uint64_t userData; - -}; - -static const uint32_t checksum[] = { 0x8922c590, 0x18102a05, 0xf09b9b50, 0xdcef001a, }; - -} // namespace AttractorFSPreviewParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class AttractorFSPreviewParams_0p0 : public NvParameterized::NvParameters, public AttractorFSPreviewParams_0p0NS::ParametersStruct -{ -public: - AttractorFSPreviewParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~AttractorFSPreviewParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("AttractorFSPreviewParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(AttractorFSPreviewParams_0p0NS::checksum); - return AttractorFSPreviewParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const AttractorFSPreviewParams_0p0NS::ParametersStruct& parameters(void) const - { - AttractorFSPreviewParams_0p0* tmpThis = const_cast<AttractorFSPreviewParams_0p0*>(this); - return *(static_cast<AttractorFSPreviewParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - AttractorFSPreviewParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<AttractorFSPreviewParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class AttractorFSPreviewParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - AttractorFSPreviewParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(AttractorFSPreviewParams_0p0), AttractorFSPreviewParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, AttractorFSPreviewParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class AttractorFSPreviewParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(AttractorFSPreviewParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, AttractorFSPreviewParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, AttractorFSPreviewParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, AttractorFSPreviewParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class AttractorFSPreviewParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of AttractorFSPreviewParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (AttractorFSPreviewParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (AttractorFSPreviewParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (AttractorFSPreviewParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (AttractorFSPreviewParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (AttractorFSPreviewParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/BasicFSDebugRenderParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/BasicFSDebugRenderParams_0p0.h deleted file mode 100644 index c64275ef..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/BasicFSDebugRenderParams_0p0.h +++ /dev/null @@ -1,251 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_BasicFSDebugRenderParams_0p0_h -#define HEADER_BasicFSDebugRenderParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace BasicFSDebugRenderParams_0p0NS -{ - - - -struct ParametersStruct -{ - - bool VISUALIZE_JET_FS_ACTOR; - bool VISUALIZE_JET_FS_ACTOR_NAME; - bool VISUALIZE_JET_FS_SHAPE; - bool VISUALIZE_JET_FS_FIELD; - bool VISUALIZE_JET_FS_POSE; - float JET_FS_FIELD_SCALE; - bool VISUALIZE_ATTRACTOR_FS_ACTOR; - bool VISUALIZE_ATTRACTOR_FS_ACTOR_NAME; - bool VISUALIZE_ATTRACTOR_FS_SHAPE; - bool VISUALIZE_ATTRACTOR_FS_FIELD; - bool VISUALIZE_ATTRACTOR_FS_POSE; - bool VISUALIZE_VORTEX_FS_ACTOR; - bool VISUALIZE_VORTEX_FS_ACTOR_NAME; - bool VISUALIZE_VORTEX_FS_SHAPE; - bool VISUALIZE_VORTEX_FS_FIELD; - bool VISUALIZE_VORTEX_FS_POSE; - bool VISUALIZE_NOISE_FS_ACTOR; - bool VISUALIZE_NOISE_FS_ACTOR_NAME; - bool VISUALIZE_NOISE_FS_SHAPE; - bool VISUALIZE_NOISE_FS_POSE; - bool VISUALIZE_WIND_FS_ACTOR; - bool VISUALIZE_WIND_FS_ACTOR_NAME; - -}; - -static const uint32_t checksum[] = { 0xb0169d27, 0x35d0161d, 0xa6b13602, 0x90135fb1, }; - -} // namespace BasicFSDebugRenderParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class BasicFSDebugRenderParams_0p0 : public NvParameterized::NvParameters, public BasicFSDebugRenderParams_0p0NS::ParametersStruct -{ -public: - BasicFSDebugRenderParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~BasicFSDebugRenderParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("BasicFSDebugRenderParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(BasicFSDebugRenderParams_0p0NS::checksum); - return BasicFSDebugRenderParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const BasicFSDebugRenderParams_0p0NS::ParametersStruct& parameters(void) const - { - BasicFSDebugRenderParams_0p0* tmpThis = const_cast<BasicFSDebugRenderParams_0p0*>(this); - return *(static_cast<BasicFSDebugRenderParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - BasicFSDebugRenderParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<BasicFSDebugRenderParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class BasicFSDebugRenderParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - BasicFSDebugRenderParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(BasicFSDebugRenderParams_0p0), BasicFSDebugRenderParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, BasicFSDebugRenderParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class BasicFSDebugRenderParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(BasicFSDebugRenderParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, BasicFSDebugRenderParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, BasicFSDebugRenderParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, BasicFSDebugRenderParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class BasicFSDebugRenderParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of BasicFSDebugRenderParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (BasicFSDebugRenderParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (BasicFSDebugRenderParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (BasicFSDebugRenderParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (BasicFSDebugRenderParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (BasicFSDebugRenderParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/BasicFSModuleParameters_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/BasicFSModuleParameters_0p0.h deleted file mode 100644 index 25835193..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/BasicFSModuleParameters_0p0.h +++ /dev/null @@ -1,230 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_BasicFSModuleParameters_0p0_h -#define HEADER_BasicFSModuleParameters_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace BasicFSModuleParameters_0p0NS -{ - - - -struct ParametersStruct -{ - - uint32_t unused; - -}; - -static const uint32_t checksum[] = { 0x5172e1d0, 0xd8897074, 0x2680816d, 0x73062129, }; - -} // namespace BasicFSModuleParameters_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class BasicFSModuleParameters_0p0 : public NvParameterized::NvParameters, public BasicFSModuleParameters_0p0NS::ParametersStruct -{ -public: - BasicFSModuleParameters_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~BasicFSModuleParameters_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("BasicFSModuleParameters"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(BasicFSModuleParameters_0p0NS::checksum); - return BasicFSModuleParameters_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const BasicFSModuleParameters_0p0NS::ParametersStruct& parameters(void) const - { - BasicFSModuleParameters_0p0* tmpThis = const_cast<BasicFSModuleParameters_0p0*>(this); - return *(static_cast<BasicFSModuleParameters_0p0NS::ParametersStruct*>(tmpThis)); - } - - BasicFSModuleParameters_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<BasicFSModuleParameters_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class BasicFSModuleParameters_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - BasicFSModuleParameters_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(BasicFSModuleParameters_0p0), BasicFSModuleParameters_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, BasicFSModuleParameters_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class BasicFSModuleParameters_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(BasicFSModuleParameters_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, BasicFSModuleParameters_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, BasicFSModuleParameters_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, BasicFSModuleParameters_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class BasicFSModuleParameters_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of BasicFSModuleParameters_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (BasicFSModuleParameters_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (BasicFSModuleParameters_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (BasicFSModuleParameters_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (BasicFSModuleParameters_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (BasicFSModuleParameters_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSActorParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSActorParams_0p0.h deleted file mode 100644 index 224c51be..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSActorParams_0p0.h +++ /dev/null @@ -1,233 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_JetFSActorParams_0p0_h -#define HEADER_JetFSActorParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace JetFSActorParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float initialPose[12]; - float initialScale; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0x1c5d70a6, 0x751958e8, 0xcf53c70a, 0xd108a6ab, }; - -} // namespace JetFSActorParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class JetFSActorParams_0p0 : public NvParameterized::NvParameters, public JetFSActorParams_0p0NS::ParametersStruct -{ -public: - JetFSActorParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~JetFSActorParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("JetFSActorParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(JetFSActorParams_0p0NS::checksum); - return JetFSActorParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const JetFSActorParams_0p0NS::ParametersStruct& parameters(void) const - { - JetFSActorParams_0p0* tmpThis = const_cast<JetFSActorParams_0p0*>(this); - return *(static_cast<JetFSActorParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - JetFSActorParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<JetFSActorParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class JetFSActorParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - JetFSActorParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(JetFSActorParams_0p0), JetFSActorParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, JetFSActorParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class JetFSActorParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(JetFSActorParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, JetFSActorParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, JetFSActorParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, JetFSActorParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class JetFSActorParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of JetFSActorParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (JetFSActorParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (JetFSActorParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (JetFSActorParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (JetFSActorParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (JetFSActorParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSActorParams_0p1.h b/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSActorParams_0p1.h deleted file mode 100644 index 21e27e52..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSActorParams_0p1.h +++ /dev/null @@ -1,233 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_JetFSActorParams_0p1_h -#define HEADER_JetFSActorParams_0p1_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace JetFSActorParams_0p1NS -{ - - - -struct ParametersStruct -{ - - physx::PxTransform initialPose; - float initialScale; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0xa4d1a7f7, 0x7f6decb8, 0x56e05568, 0x7b6ddfd3, }; - -} // namespace JetFSActorParams_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class JetFSActorParams_0p1 : public NvParameterized::NvParameters, public JetFSActorParams_0p1NS::ParametersStruct -{ -public: - JetFSActorParams_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~JetFSActorParams_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("JetFSActorParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)1; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(JetFSActorParams_0p1NS::checksum); - return JetFSActorParams_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const JetFSActorParams_0p1NS::ParametersStruct& parameters(void) const - { - JetFSActorParams_0p1* tmpThis = const_cast<JetFSActorParams_0p1*>(this); - return *(static_cast<JetFSActorParams_0p1NS::ParametersStruct*>(tmpThis)); - } - - JetFSActorParams_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<JetFSActorParams_0p1NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class JetFSActorParams_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - JetFSActorParams_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(JetFSActorParams_0p1), JetFSActorParams_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, JetFSActorParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class JetFSActorParams_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(JetFSActorParams_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, JetFSActorParams_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, JetFSActorParams_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, JetFSActorParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class JetFSActorParams_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of JetFSActorParams_0p1 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (JetFSActorParams_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (JetFSActorParams_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (JetFSActorParams_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (JetFSActorParams_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (JetFSActorParams_0p1::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSAssetParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSAssetParams_0p0.h deleted file mode 100644 index 5c8d330c..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSAssetParams_0p0.h +++ /dev/null @@ -1,252 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_JetFSAssetParams_0p0_h -#define HEADER_JetFSAssetParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace JetFSAssetParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float defaultScale; - float boundaryFadePercentage; - physx::PxVec3 fieldDirection; - float fieldDirectionDeviationAngle; - float fieldDirectionOscillationPeriod; - float fieldStrength; - float fieldStrengthDeviationPercentage; - float fieldStrengthOscillationPeriod; - float gridShapeRadius; - float gridShapeHeight; - float gridBoundaryFadePercentage; - float nearRadius; - float pivotRadius; - float farRadius; - float directionalStretch; - float averageStartDistance; - float averageEndDistance; - float noisePercentage; - float noiseSpaceScale; - float noiseTimeScale; - uint32_t noiseOctaves; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0x08d0f147, 0xdd6bdfdb, 0xc8ba84a3, 0x82b526e5, }; - -} // namespace JetFSAssetParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class JetFSAssetParams_0p0 : public NvParameterized::NvParameters, public JetFSAssetParams_0p0NS::ParametersStruct -{ -public: - JetFSAssetParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~JetFSAssetParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("JetFSAssetParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(JetFSAssetParams_0p0NS::checksum); - return JetFSAssetParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const JetFSAssetParams_0p0NS::ParametersStruct& parameters(void) const - { - JetFSAssetParams_0p0* tmpThis = const_cast<JetFSAssetParams_0p0*>(this); - return *(static_cast<JetFSAssetParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - JetFSAssetParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<JetFSAssetParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class JetFSAssetParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - JetFSAssetParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(JetFSAssetParams_0p0), JetFSAssetParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, JetFSAssetParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class JetFSAssetParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(JetFSAssetParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, JetFSAssetParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, JetFSAssetParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, JetFSAssetParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class JetFSAssetParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of JetFSAssetParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (JetFSAssetParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (JetFSAssetParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (JetFSAssetParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (JetFSAssetParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (JetFSAssetParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSAssetParams_0p1.h b/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSAssetParams_0p1.h deleted file mode 100644 index 8c7421f1..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSAssetParams_0p1.h +++ /dev/null @@ -1,254 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_JetFSAssetParams_0p1_h -#define HEADER_JetFSAssetParams_0p1_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace JetFSAssetParams_0p1NS -{ - - - -struct ParametersStruct -{ - - float defaultScale; - float boundaryFadePercentage; - physx::PxVec3 fieldDirection; - float fieldDirectionDeviationAngle; - float fieldDirectionOscillationPeriod; - float fieldStrength; - float fieldStrengthDeviationPercentage; - float fieldStrengthOscillationPeriod; - float gridShapeRadius; - float gridShapeHeight; - float gridBoundaryFadePercentage; - float nearRadius; - float pivotRadius; - float farRadius; - float directionalStretch; - float averageStartDistance; - float averageEndDistance; - float noisePercentage; - float noiseSpaceScale; - float noiseTimeScale; - uint32_t noiseOctaves; - float fieldDragCoeff; - float fieldWeight; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0x69e560ed, 0x4dd107de, 0x04ab3f89, 0x32270f6f, }; - -} // namespace JetFSAssetParams_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class JetFSAssetParams_0p1 : public NvParameterized::NvParameters, public JetFSAssetParams_0p1NS::ParametersStruct -{ -public: - JetFSAssetParams_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~JetFSAssetParams_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("JetFSAssetParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)1; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(JetFSAssetParams_0p1NS::checksum); - return JetFSAssetParams_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const JetFSAssetParams_0p1NS::ParametersStruct& parameters(void) const - { - JetFSAssetParams_0p1* tmpThis = const_cast<JetFSAssetParams_0p1*>(this); - return *(static_cast<JetFSAssetParams_0p1NS::ParametersStruct*>(tmpThis)); - } - - JetFSAssetParams_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<JetFSAssetParams_0p1NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class JetFSAssetParams_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - JetFSAssetParams_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(JetFSAssetParams_0p1), JetFSAssetParams_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, JetFSAssetParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class JetFSAssetParams_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(JetFSAssetParams_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, JetFSAssetParams_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, JetFSAssetParams_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, JetFSAssetParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class JetFSAssetParams_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of JetFSAssetParams_0p1 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (JetFSAssetParams_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (JetFSAssetParams_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (JetFSAssetParams_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (JetFSAssetParams_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (JetFSAssetParams_0p1::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSPreviewParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSPreviewParams_0p0.h deleted file mode 100644 index 3f8caf82..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/JetFSPreviewParams_0p0.h +++ /dev/null @@ -1,233 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_JetFSPreviewParams_0p0_h -#define HEADER_JetFSPreviewParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace JetFSPreviewParams_0p0NS -{ - - - -struct ParametersStruct -{ - - physx::PxMat44 globalPose; - bool drawShape; - bool drawAssetInfo; - uint64_t userData; - -}; - -static const uint32_t checksum[] = { 0xd4ae1ca1, 0x104c2a39, 0xc7e092cd, 0xc962045f, }; - -} // namespace JetFSPreviewParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class JetFSPreviewParams_0p0 : public NvParameterized::NvParameters, public JetFSPreviewParams_0p0NS::ParametersStruct -{ -public: - JetFSPreviewParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~JetFSPreviewParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("JetFSPreviewParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(JetFSPreviewParams_0p0NS::checksum); - return JetFSPreviewParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const JetFSPreviewParams_0p0NS::ParametersStruct& parameters(void) const - { - JetFSPreviewParams_0p0* tmpThis = const_cast<JetFSPreviewParams_0p0*>(this); - return *(static_cast<JetFSPreviewParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - JetFSPreviewParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<JetFSPreviewParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class JetFSPreviewParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - JetFSPreviewParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(JetFSPreviewParams_0p0), JetFSPreviewParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, JetFSPreviewParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class JetFSPreviewParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(JetFSPreviewParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, JetFSPreviewParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, JetFSPreviewParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, JetFSPreviewParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class JetFSPreviewParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of JetFSPreviewParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (JetFSPreviewParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (JetFSPreviewParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (JetFSPreviewParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (JetFSPreviewParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (JetFSPreviewParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/ModuleBasicFSLegacyRegistration.h b/APEX_1.4/module/basicfs_legacy/include/autogen/ModuleBasicFSLegacyRegistration.h deleted file mode 100644 index d07f643c..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/ModuleBasicFSLegacyRegistration.h +++ /dev/null @@ -1,386 +0,0 @@ -/* - * 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 MODULE_MODULEBASICFSLEGACYREGISTRATIONH_H -#define MODULE_MODULEBASICFSLEGACYREGISTRATIONH_H - -#include "PsAllocator.h" -#include "NvRegistrationsForTraitsBase.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "PxAssert.h" -#include <stdint.h> - -// INCLUDE GENERATED FACTORIES -#include "AttractorFSActorParams_0p0.h" -#include "AttractorFSAssetParams_0p0.h" -#include "JetFSActorParams_0p0.h" -#include "JetFSAssetParams_0p0.h" -#include "NoiseFSActorParams_0p0.h" -#include "NoiseFSAssetParams_0p0.h" -#include "NoiseFSAssetParams_0p1.h" -#include "VortexFSActorParams_0p0.h" -#include "VortexFSAssetParams_0p0.h" -#include "VortexFSAssetParams_0p1.h" -#include "WindFSActorParams_0p0.h" -#include "WindFSAssetParams_0p0.h" -#include "AttractorFSActorParams_0p1.h" -#include "AttractorFSAssetParams_0p1.h" -#include "AttractorFSPreviewParams_0p0.h" -#include "BasicFSDebugRenderParams_0p0.h" -#include "JetFSActorParams_0p1.h" -#include "JetFSAssetParams_0p1.h" -#include "JetFSPreviewParams_0p0.h" -#include "BasicFSModuleParameters_0p0.h" -#include "NoiseFSActorParams_0p1.h" -#include "NoiseFSAssetParams_0p2.h" -#include "NoiseFSPreviewParams_0p0.h" -#include "VortexFSActorParams_0p1.h" -#include "VortexFSAssetParams_0p2.h" -#include "VortexFSPreviewParams_0p0.h" -#include "WindFSActorParams_0p1.h" -#include "WindFSAssetParams_0p1.h" -#include "WindFSPreviewParams_0p0.h" - - -// INCLUDE GENERATED CONVERSION -#include "ConversionAttractorFSActorParams_0p0_0p1.h" -#include "ConversionAttractorFSAssetParams_0p0_0p1.h" -#include "ConversionJetFSActorParams_0p0_0p1.h" -#include "ConversionJetFSAssetParams_0p0_0p1.h" -#include "ConversionNoiseFSActorParams_0p0_0p1.h" -#include "ConversionNoiseFSAssetParams_0p0_0p1.h" -#include "ConversionNoiseFSAssetParams_0p1_0p2.h" -#include "ConversionVortexFSActorParams_0p0_0p1.h" -#include "ConversionVortexFSAssetParams_0p0_0p1.h" -#include "ConversionVortexFSAssetParams_0p1_0p2.h" -#include "ConversionWindFSActorParams_0p0_0p1.h" -#include "ConversionWindFSAssetParams_0p0_0p1.h" - - -// global namespace - -class ModuleBasicFSLegacyRegistration : public NvParameterized::RegistrationsForTraitsBase -{ -public: - static void invokeRegistration(NvParameterized::Traits* parameterizedTraits) - { - if (parameterizedTraits) - { - ModuleBasicFSLegacyRegistration().registerAll(*parameterizedTraits); - } - } - - static void invokeUnregistration(NvParameterized::Traits* parameterizedTraits) - { - if (parameterizedTraits) - { - ModuleBasicFSLegacyRegistration().unregisterAll(*parameterizedTraits); - } - } - - void registerAvailableFactories(NvParameterized::Traits& parameterizedTraits) - { - ::NvParameterized::Factory* factoriesToRegister[] = { -// REGISTER GENERATED FACTORIES - new nvidia::parameterized::AttractorFSActorParams_0p0Factory(), - new nvidia::parameterized::AttractorFSAssetParams_0p0Factory(), - new nvidia::parameterized::JetFSActorParams_0p0Factory(), - new nvidia::parameterized::JetFSAssetParams_0p0Factory(), - new nvidia::parameterized::NoiseFSActorParams_0p0Factory(), - new nvidia::parameterized::NoiseFSAssetParams_0p0Factory(), - new nvidia::parameterized::NoiseFSAssetParams_0p1Factory(), - new nvidia::parameterized::VortexFSActorParams_0p0Factory(), - new nvidia::parameterized::VortexFSAssetParams_0p0Factory(), - new nvidia::parameterized::VortexFSAssetParams_0p1Factory(), - new nvidia::parameterized::WindFSActorParams_0p0Factory(), - new nvidia::parameterized::WindFSAssetParams_0p0Factory(), - - }; - - for (size_t i = 0; i < sizeof(factoriesToRegister)/sizeof(factoriesToRegister[0]); ++i) - { - parameterizedTraits.registerFactory(*factoriesToRegister[i]); - } - } - - virtual void registerAvailableConverters(NvParameterized::Traits& parameterizedTraits) - { -// REGISTER GENERATED CONVERSION - { - typedef nvidia::apex::legacy::ConversionAttractorFSActorParams_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionAttractorFSAssetParams_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionJetFSActorParams_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionJetFSAssetParams_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionNoiseFSActorParams_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionNoiseFSAssetParams_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionNoiseFSAssetParams_0p1_0p2 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionVortexFSActorParams_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionVortexFSAssetParams_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionVortexFSAssetParams_0p1_0p2 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionWindFSActorParams_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionWindFSAssetParams_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - - } - - void unregisterAvailableFactories(NvParameterized::Traits& parameterizedTraits) - { - struct FactoryDesc - { - const char* name; - uint32_t version; - }; - - ::NvParameterized::Factory* factoriesToUnregister[] = { -// UNREGISTER GENERATED FACTORIES - new nvidia::parameterized::AttractorFSActorParams_0p0Factory(), - new nvidia::parameterized::AttractorFSAssetParams_0p0Factory(), - new nvidia::parameterized::JetFSActorParams_0p0Factory(), - new nvidia::parameterized::JetFSAssetParams_0p0Factory(), - new nvidia::parameterized::NoiseFSActorParams_0p0Factory(), - new nvidia::parameterized::NoiseFSAssetParams_0p0Factory(), - new nvidia::parameterized::NoiseFSAssetParams_0p1Factory(), - new nvidia::parameterized::VortexFSActorParams_0p0Factory(), - new nvidia::parameterized::VortexFSAssetParams_0p0Factory(), - new nvidia::parameterized::VortexFSAssetParams_0p1Factory(), - new nvidia::parameterized::WindFSActorParams_0p0Factory(), - new nvidia::parameterized::WindFSAssetParams_0p0Factory(), - - }; - - for (size_t i = 0; i < sizeof(factoriesToUnregister)/sizeof(factoriesToUnregister[0]); ++i) - { - ::NvParameterized::Factory* removedFactory = parameterizedTraits.removeFactory(factoriesToUnregister[i]->getClassName(), factoriesToUnregister[i]->getVersion()); - if (!removedFactory) - { - PX_ASSERT_WITH_MESSAGE(0, "Factory can not be removed!"); - } - else - { - removedFactory->freeParameterDefinitionTable(¶meterizedTraits); - delete removedFactory; - delete factoriesToUnregister[i]; - } - } - } - - virtual void unregisterAvailableConverters(NvParameterized::Traits& parameterizedTraits) - { -// UNREGISTER GENERATED CONVERSION - { - typedef nvidia::apex::legacy::ConversionAttractorFSActorParams_0p0_0p1 ConverterToUnregister; - ::NvParameterized::Conversion* removedConv = parameterizedTraits.removeConversion(ConverterToUnregister::TOldClass::staticClassName(), - ConverterToUnregister::TOldClass::ClassVersion, - ConverterToUnregister::TNewClass::ClassVersion); - if (removedConv) { - removedConv->~Conversion(); parameterizedTraits.free(removedConv); // PLACEMENT DELETE - } else { - // assert("Conversion was not found"); - } - } - { - typedef nvidia::apex::legacy::ConversionAttractorFSAssetParams_0p0_0p1 ConverterToUnregister; - ::NvParameterized::Conversion* removedConv = parameterizedTraits.removeConversion(ConverterToUnregister::TOldClass::staticClassName(), - ConverterToUnregister::TOldClass::ClassVersion, - ConverterToUnregister::TNewClass::ClassVersion); - if (removedConv) { - removedConv->~Conversion(); parameterizedTraits.free(removedConv); // PLACEMENT DELETE - } else { - // assert("Conversion was not found"); - } - } - { - typedef nvidia::apex::legacy::ConversionJetFSActorParams_0p0_0p1 ConverterToUnregister; - ::NvParameterized::Conversion* removedConv = parameterizedTraits.removeConversion(ConverterToUnregister::TOldClass::staticClassName(), - ConverterToUnregister::TOldClass::ClassVersion, - ConverterToUnregister::TNewClass::ClassVersion); - if (removedConv) { - removedConv->~Conversion(); parameterizedTraits.free(removedConv); // PLACEMENT DELETE - } else { - // assert("Conversion was not found"); - } - } - { - typedef nvidia::apex::legacy::ConversionJetFSAssetParams_0p0_0p1 ConverterToUnregister; - ::NvParameterized::Conversion* removedConv = parameterizedTraits.removeConversion(ConverterToUnregister::TOldClass::staticClassName(), - ConverterToUnregister::TOldClass::ClassVersion, - ConverterToUnregister::TNewClass::ClassVersion); - if (removedConv) { - removedConv->~Conversion(); parameterizedTraits.free(removedConv); // PLACEMENT DELETE - } else { - // assert("Conversion was not found"); - } - } - { - typedef nvidia::apex::legacy::ConversionNoiseFSActorParams_0p0_0p1 ConverterToUnregister; - ::NvParameterized::Conversion* removedConv = parameterizedTraits.removeConversion(ConverterToUnregister::TOldClass::staticClassName(), - ConverterToUnregister::TOldClass::ClassVersion, - ConverterToUnregister::TNewClass::ClassVersion); - if (removedConv) { - removedConv->~Conversion(); parameterizedTraits.free(removedConv); // PLACEMENT DELETE - } else { - // assert("Conversion was not found"); - } - } - { - typedef nvidia::apex::legacy::ConversionNoiseFSAssetParams_0p0_0p1 ConverterToUnregister; - ::NvParameterized::Conversion* removedConv = parameterizedTraits.removeConversion(ConverterToUnregister::TOldClass::staticClassName(), - ConverterToUnregister::TOldClass::ClassVersion, - ConverterToUnregister::TNewClass::ClassVersion); - if (removedConv) { - removedConv->~Conversion(); parameterizedTraits.free(removedConv); // PLACEMENT DELETE - } else { - // assert("Conversion was not found"); - } - } - { - typedef nvidia::apex::legacy::ConversionNoiseFSAssetParams_0p1_0p2 ConverterToUnregister; - ::NvParameterized::Conversion* removedConv = parameterizedTraits.removeConversion(ConverterToUnregister::TOldClass::staticClassName(), - ConverterToUnregister::TOldClass::ClassVersion, - ConverterToUnregister::TNewClass::ClassVersion); - if (removedConv) { - removedConv->~Conversion(); parameterizedTraits.free(removedConv); // PLACEMENT DELETE - } else { - // assert("Conversion was not found"); - } - } - { - typedef nvidia::apex::legacy::ConversionVortexFSActorParams_0p0_0p1 ConverterToUnregister; - ::NvParameterized::Conversion* removedConv = parameterizedTraits.removeConversion(ConverterToUnregister::TOldClass::staticClassName(), - ConverterToUnregister::TOldClass::ClassVersion, - ConverterToUnregister::TNewClass::ClassVersion); - if (removedConv) { - removedConv->~Conversion(); parameterizedTraits.free(removedConv); // PLACEMENT DELETE - } else { - // assert("Conversion was not found"); - } - } - { - typedef nvidia::apex::legacy::ConversionVortexFSAssetParams_0p0_0p1 ConverterToUnregister; - ::NvParameterized::Conversion* removedConv = parameterizedTraits.removeConversion(ConverterToUnregister::TOldClass::staticClassName(), - ConverterToUnregister::TOldClass::ClassVersion, - ConverterToUnregister::TNewClass::ClassVersion); - if (removedConv) { - removedConv->~Conversion(); parameterizedTraits.free(removedConv); // PLACEMENT DELETE - } else { - // assert("Conversion was not found"); - } - } - { - typedef nvidia::apex::legacy::ConversionVortexFSAssetParams_0p1_0p2 ConverterToUnregister; - ::NvParameterized::Conversion* removedConv = parameterizedTraits.removeConversion(ConverterToUnregister::TOldClass::staticClassName(), - ConverterToUnregister::TOldClass::ClassVersion, - ConverterToUnregister::TNewClass::ClassVersion); - if (removedConv) { - removedConv->~Conversion(); parameterizedTraits.free(removedConv); // PLACEMENT DELETE - } else { - // assert("Conversion was not found"); - } - } - { - typedef nvidia::apex::legacy::ConversionWindFSActorParams_0p0_0p1 ConverterToUnregister; - ::NvParameterized::Conversion* removedConv = parameterizedTraits.removeConversion(ConverterToUnregister::TOldClass::staticClassName(), - ConverterToUnregister::TOldClass::ClassVersion, - ConverterToUnregister::TNewClass::ClassVersion); - if (removedConv) { - removedConv->~Conversion(); parameterizedTraits.free(removedConv); // PLACEMENT DELETE - } else { - // assert("Conversion was not found"); - } - } - { - typedef nvidia::apex::legacy::ConversionWindFSAssetParams_0p0_0p1 ConverterToUnregister; - ::NvParameterized::Conversion* removedConv = parameterizedTraits.removeConversion(ConverterToUnregister::TOldClass::staticClassName(), - ConverterToUnregister::TOldClass::ClassVersion, - ConverterToUnregister::TNewClass::ClassVersion); - if (removedConv) { - removedConv->~Conversion(); parameterizedTraits.free(removedConv); // PLACEMENT DELETE - } else { - // assert("Conversion was not found"); - } - } - - } - -}; - -// global namespace - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSActorParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSActorParams_0p0.h deleted file mode 100644 index f16bce7f..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSActorParams_0p0.h +++ /dev/null @@ -1,233 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_NoiseFSActorParams_0p0_h -#define HEADER_NoiseFSActorParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace NoiseFSActorParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float initialPose[12]; - float initialScale; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0xec387120, 0xb053883c, 0x09be46f0, 0x0ef38266, }; - -} // namespace NoiseFSActorParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class NoiseFSActorParams_0p0 : public NvParameterized::NvParameters, public NoiseFSActorParams_0p0NS::ParametersStruct -{ -public: - NoiseFSActorParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~NoiseFSActorParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("NoiseFSActorParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(NoiseFSActorParams_0p0NS::checksum); - return NoiseFSActorParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const NoiseFSActorParams_0p0NS::ParametersStruct& parameters(void) const - { - NoiseFSActorParams_0p0* tmpThis = const_cast<NoiseFSActorParams_0p0*>(this); - return *(static_cast<NoiseFSActorParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - NoiseFSActorParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<NoiseFSActorParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class NoiseFSActorParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - NoiseFSActorParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(NoiseFSActorParams_0p0), NoiseFSActorParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, NoiseFSActorParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class NoiseFSActorParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(NoiseFSActorParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, NoiseFSActorParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, NoiseFSActorParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, NoiseFSActorParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class NoiseFSActorParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of NoiseFSActorParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (NoiseFSActorParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (NoiseFSActorParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (NoiseFSActorParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (NoiseFSActorParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (NoiseFSActorParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSActorParams_0p1.h b/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSActorParams_0p1.h deleted file mode 100644 index cd225b51..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSActorParams_0p1.h +++ /dev/null @@ -1,233 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_NoiseFSActorParams_0p1_h -#define HEADER_NoiseFSActorParams_0p1_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace NoiseFSActorParams_0p1NS -{ - - - -struct ParametersStruct -{ - - physx::PxTransform initialPose; - float initialScale; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0xe4c90c5a, 0x15924053, 0x3469b7ba, 0xb14315a6, }; - -} // namespace NoiseFSActorParams_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class NoiseFSActorParams_0p1 : public NvParameterized::NvParameters, public NoiseFSActorParams_0p1NS::ParametersStruct -{ -public: - NoiseFSActorParams_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~NoiseFSActorParams_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("NoiseFSActorParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)1; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(NoiseFSActorParams_0p1NS::checksum); - return NoiseFSActorParams_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const NoiseFSActorParams_0p1NS::ParametersStruct& parameters(void) const - { - NoiseFSActorParams_0p1* tmpThis = const_cast<NoiseFSActorParams_0p1*>(this); - return *(static_cast<NoiseFSActorParams_0p1NS::ParametersStruct*>(tmpThis)); - } - - NoiseFSActorParams_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<NoiseFSActorParams_0p1NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class NoiseFSActorParams_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - NoiseFSActorParams_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(NoiseFSActorParams_0p1), NoiseFSActorParams_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, NoiseFSActorParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class NoiseFSActorParams_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(NoiseFSActorParams_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, NoiseFSActorParams_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, NoiseFSActorParams_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, NoiseFSActorParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class NoiseFSActorParams_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of NoiseFSActorParams_0p1 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (NoiseFSActorParams_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (NoiseFSActorParams_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (NoiseFSActorParams_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (NoiseFSActorParams_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (NoiseFSActorParams_0p1::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSAssetParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSAssetParams_0p0.h deleted file mode 100644 index 55f78a7f..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSAssetParams_0p0.h +++ /dev/null @@ -1,245 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_NoiseFSAssetParams_0p0_h -#define HEADER_NoiseFSAssetParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace NoiseFSAssetParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float defaultScale; - physx::PxVec3 boundarySize; - float boundaryFadePercentage; - const char* fieldType; - float fieldDragCoeff; - const char* noiseType; - uint32_t noiseSeed; - float noiseStrength; - physx::PxVec3 noiseSpacePeriod; - float noiseTimePeriod; - uint32_t noiseOctaves; - float noiseStrengthOctaveMultiplier; - physx::PxVec3 noiseSpacePeriodOctaveMultiplier; - float noiseTimePeriodOctaveMultiplier; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0x723f8182, 0xf52a8761, 0xdf6794c0, 0x6e29e7e6, }; - -} // namespace NoiseFSAssetParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class NoiseFSAssetParams_0p0 : public NvParameterized::NvParameters, public NoiseFSAssetParams_0p0NS::ParametersStruct -{ -public: - NoiseFSAssetParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~NoiseFSAssetParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("NoiseFSAssetParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(NoiseFSAssetParams_0p0NS::checksum); - return NoiseFSAssetParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const NoiseFSAssetParams_0p0NS::ParametersStruct& parameters(void) const - { - NoiseFSAssetParams_0p0* tmpThis = const_cast<NoiseFSAssetParams_0p0*>(this); - return *(static_cast<NoiseFSAssetParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - NoiseFSAssetParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<NoiseFSAssetParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class NoiseFSAssetParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - NoiseFSAssetParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(NoiseFSAssetParams_0p0), NoiseFSAssetParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, NoiseFSAssetParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class NoiseFSAssetParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(NoiseFSAssetParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, NoiseFSAssetParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, NoiseFSAssetParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, NoiseFSAssetParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class NoiseFSAssetParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of NoiseFSAssetParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (NoiseFSAssetParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (NoiseFSAssetParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (NoiseFSAssetParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (NoiseFSAssetParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (NoiseFSAssetParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSAssetParams_0p1.h b/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSAssetParams_0p1.h deleted file mode 100644 index 21bf2021..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSAssetParams_0p1.h +++ /dev/null @@ -1,246 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_NoiseFSAssetParams_0p1_h -#define HEADER_NoiseFSAssetParams_0p1_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace NoiseFSAssetParams_0p1NS -{ - - - -struct ParametersStruct -{ - - float defaultScale; - physx::PxVec3 boundarySize; - float boundaryFadePercentage; - const char* fieldType; - float fieldDragCoeff; - const char* noiseType; - uint32_t noiseSeed; - float noiseStrength; - physx::PxVec3 noiseSpacePeriod; - float noiseTimePeriod; - uint32_t noiseOctaves; - float noiseStrengthOctaveMultiplier; - physx::PxVec3 noiseSpacePeriodOctaveMultiplier; - float noiseTimePeriodOctaveMultiplier; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - bool useLocalSpace; - -}; - -static const uint32_t checksum[] = { 0x284ac2b4, 0x701176e7, 0x30355714, 0x98ea3ee2, }; - -} // namespace NoiseFSAssetParams_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class NoiseFSAssetParams_0p1 : public NvParameterized::NvParameters, public NoiseFSAssetParams_0p1NS::ParametersStruct -{ -public: - NoiseFSAssetParams_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~NoiseFSAssetParams_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("NoiseFSAssetParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)1; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(NoiseFSAssetParams_0p1NS::checksum); - return NoiseFSAssetParams_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const NoiseFSAssetParams_0p1NS::ParametersStruct& parameters(void) const - { - NoiseFSAssetParams_0p1* tmpThis = const_cast<NoiseFSAssetParams_0p1*>(this); - return *(static_cast<NoiseFSAssetParams_0p1NS::ParametersStruct*>(tmpThis)); - } - - NoiseFSAssetParams_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<NoiseFSAssetParams_0p1NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class NoiseFSAssetParams_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - NoiseFSAssetParams_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(NoiseFSAssetParams_0p1), NoiseFSAssetParams_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, NoiseFSAssetParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class NoiseFSAssetParams_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(NoiseFSAssetParams_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, NoiseFSAssetParams_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, NoiseFSAssetParams_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, NoiseFSAssetParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class NoiseFSAssetParams_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of NoiseFSAssetParams_0p1 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (NoiseFSAssetParams_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (NoiseFSAssetParams_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (NoiseFSAssetParams_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (NoiseFSAssetParams_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (NoiseFSAssetParams_0p1::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSAssetParams_0p2.h b/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSAssetParams_0p2.h deleted file mode 100644 index 54ecb4f6..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSAssetParams_0p2.h +++ /dev/null @@ -1,247 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_NoiseFSAssetParams_0p2_h -#define HEADER_NoiseFSAssetParams_0p2_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace NoiseFSAssetParams_0p2NS -{ - - - -struct ParametersStruct -{ - - float defaultScale; - physx::PxVec3 boundarySize; - float boundaryFadePercentage; - const char* fieldType; - float fieldDragCoeff; - float fieldWeight; - const char* noiseType; - uint32_t noiseSeed; - float noiseStrength; - physx::PxVec3 noiseSpacePeriod; - float noiseTimePeriod; - uint32_t noiseOctaves; - float noiseStrengthOctaveMultiplier; - physx::PxVec3 noiseSpacePeriodOctaveMultiplier; - float noiseTimePeriodOctaveMultiplier; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - bool useLocalSpace; - -}; - -static const uint32_t checksum[] = { 0xd5a49209, 0xd5e62b90, 0x73aa7e86, 0xd57406b3, }; - -} // namespace NoiseFSAssetParams_0p2NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class NoiseFSAssetParams_0p2 : public NvParameterized::NvParameters, public NoiseFSAssetParams_0p2NS::ParametersStruct -{ -public: - NoiseFSAssetParams_0p2(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~NoiseFSAssetParams_0p2(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("NoiseFSAssetParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)2; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(NoiseFSAssetParams_0p2NS::checksum); - return NoiseFSAssetParams_0p2NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const NoiseFSAssetParams_0p2NS::ParametersStruct& parameters(void) const - { - NoiseFSAssetParams_0p2* tmpThis = const_cast<NoiseFSAssetParams_0p2*>(this); - return *(static_cast<NoiseFSAssetParams_0p2NS::ParametersStruct*>(tmpThis)); - } - - NoiseFSAssetParams_0p2NS::ParametersStruct& parameters(void) - { - return *(static_cast<NoiseFSAssetParams_0p2NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class NoiseFSAssetParams_0p2Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - NoiseFSAssetParams_0p2::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(NoiseFSAssetParams_0p2), NoiseFSAssetParams_0p2::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, NoiseFSAssetParams_0p2::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class NoiseFSAssetParams_0p2"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(NoiseFSAssetParams_0p2)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, NoiseFSAssetParams_0p2)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, NoiseFSAssetParams_0p2::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, NoiseFSAssetParams_0p2::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class NoiseFSAssetParams_0p2"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of NoiseFSAssetParams_0p2 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (NoiseFSAssetParams_0p2*)bufObj; - } - - virtual const char* getClassName() - { - return (NoiseFSAssetParams_0p2::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (NoiseFSAssetParams_0p2::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (NoiseFSAssetParams_0p2::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (NoiseFSAssetParams_0p2::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSPreviewParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSPreviewParams_0p0.h deleted file mode 100644 index 1e6b91db..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/NoiseFSPreviewParams_0p0.h +++ /dev/null @@ -1,233 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_NoiseFSPreviewParams_0p0_h -#define HEADER_NoiseFSPreviewParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace NoiseFSPreviewParams_0p0NS -{ - - - -struct ParametersStruct -{ - - physx::PxMat44 globalPose; - bool drawShape; - bool drawAssetInfo; - uint64_t userData; - -}; - -static const uint32_t checksum[] = { 0x4c188363, 0x012fd224, 0x5689640e, 0x104914de, }; - -} // namespace NoiseFSPreviewParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class NoiseFSPreviewParams_0p0 : public NvParameterized::NvParameters, public NoiseFSPreviewParams_0p0NS::ParametersStruct -{ -public: - NoiseFSPreviewParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~NoiseFSPreviewParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("NoiseFSPreviewParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(NoiseFSPreviewParams_0p0NS::checksum); - return NoiseFSPreviewParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const NoiseFSPreviewParams_0p0NS::ParametersStruct& parameters(void) const - { - NoiseFSPreviewParams_0p0* tmpThis = const_cast<NoiseFSPreviewParams_0p0*>(this); - return *(static_cast<NoiseFSPreviewParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - NoiseFSPreviewParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<NoiseFSPreviewParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class NoiseFSPreviewParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - NoiseFSPreviewParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(NoiseFSPreviewParams_0p0), NoiseFSPreviewParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, NoiseFSPreviewParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class NoiseFSPreviewParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(NoiseFSPreviewParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, NoiseFSPreviewParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, NoiseFSPreviewParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, NoiseFSPreviewParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class NoiseFSPreviewParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of NoiseFSPreviewParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (NoiseFSPreviewParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (NoiseFSPreviewParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (NoiseFSPreviewParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (NoiseFSPreviewParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (NoiseFSPreviewParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSActorParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSActorParams_0p0.h deleted file mode 100644 index 133d79c7..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSActorParams_0p0.h +++ /dev/null @@ -1,233 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_VortexFSActorParams_0p0_h -#define HEADER_VortexFSActorParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace VortexFSActorParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float initialPose[12]; - float initialScale; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0x15a7ecd0, 0x4b61fe90, 0xdcca24f3, 0xde2d10d9, }; - -} // namespace VortexFSActorParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class VortexFSActorParams_0p0 : public NvParameterized::NvParameters, public VortexFSActorParams_0p0NS::ParametersStruct -{ -public: - VortexFSActorParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~VortexFSActorParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("VortexFSActorParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(VortexFSActorParams_0p0NS::checksum); - return VortexFSActorParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const VortexFSActorParams_0p0NS::ParametersStruct& parameters(void) const - { - VortexFSActorParams_0p0* tmpThis = const_cast<VortexFSActorParams_0p0*>(this); - return *(static_cast<VortexFSActorParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - VortexFSActorParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<VortexFSActorParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class VortexFSActorParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - VortexFSActorParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(VortexFSActorParams_0p0), VortexFSActorParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, VortexFSActorParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class VortexFSActorParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(VortexFSActorParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, VortexFSActorParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, VortexFSActorParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, VortexFSActorParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class VortexFSActorParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of VortexFSActorParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (VortexFSActorParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (VortexFSActorParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (VortexFSActorParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (VortexFSActorParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (VortexFSActorParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSActorParams_0p1.h b/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSActorParams_0p1.h deleted file mode 100644 index 84612f52..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSActorParams_0p1.h +++ /dev/null @@ -1,233 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_VortexFSActorParams_0p1_h -#define HEADER_VortexFSActorParams_0p1_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace VortexFSActorParams_0p1NS -{ - - - -struct ParametersStruct -{ - - physx::PxTransform initialPose; - float initialScale; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0x6551fe7f, 0xf22a11ba, 0x548415b0, 0xe1409901, }; - -} // namespace VortexFSActorParams_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class VortexFSActorParams_0p1 : public NvParameterized::NvParameters, public VortexFSActorParams_0p1NS::ParametersStruct -{ -public: - VortexFSActorParams_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~VortexFSActorParams_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("VortexFSActorParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)1; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(VortexFSActorParams_0p1NS::checksum); - return VortexFSActorParams_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const VortexFSActorParams_0p1NS::ParametersStruct& parameters(void) const - { - VortexFSActorParams_0p1* tmpThis = const_cast<VortexFSActorParams_0p1*>(this); - return *(static_cast<VortexFSActorParams_0p1NS::ParametersStruct*>(tmpThis)); - } - - VortexFSActorParams_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<VortexFSActorParams_0p1NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class VortexFSActorParams_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - VortexFSActorParams_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(VortexFSActorParams_0p1), VortexFSActorParams_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, VortexFSActorParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class VortexFSActorParams_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(VortexFSActorParams_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, VortexFSActorParams_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, VortexFSActorParams_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, VortexFSActorParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class VortexFSActorParams_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of VortexFSActorParams_0p1 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (VortexFSActorParams_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (VortexFSActorParams_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (VortexFSActorParams_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (VortexFSActorParams_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (VortexFSActorParams_0p1::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSAssetParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSAssetParams_0p0.h deleted file mode 100644 index bc840e79..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSAssetParams_0p0.h +++ /dev/null @@ -1,239 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_VortexFSAssetParams_0p0_h -#define HEADER_VortexFSAssetParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace VortexFSAssetParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float boundaryFadePercentage; - physx::PxVec3 axis; - float height; - float bottomRadius; - float topRadius; - float rotationalStrength; - float radialStrength; - float liftStrength; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0x54e03a25, 0xd7fa937e, 0x6dfa0ad8, 0xcc2faa99, }; - -} // namespace VortexFSAssetParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class VortexFSAssetParams_0p0 : public NvParameterized::NvParameters, public VortexFSAssetParams_0p0NS::ParametersStruct -{ -public: - VortexFSAssetParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~VortexFSAssetParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("VortexFSAssetParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(VortexFSAssetParams_0p0NS::checksum); - return VortexFSAssetParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const VortexFSAssetParams_0p0NS::ParametersStruct& parameters(void) const - { - VortexFSAssetParams_0p0* tmpThis = const_cast<VortexFSAssetParams_0p0*>(this); - return *(static_cast<VortexFSAssetParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - VortexFSAssetParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<VortexFSAssetParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class VortexFSAssetParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - VortexFSAssetParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(VortexFSAssetParams_0p0), VortexFSAssetParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, VortexFSAssetParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class VortexFSAssetParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(VortexFSAssetParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, VortexFSAssetParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, VortexFSAssetParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, VortexFSAssetParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class VortexFSAssetParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of VortexFSAssetParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (VortexFSAssetParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (VortexFSAssetParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (VortexFSAssetParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (VortexFSAssetParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (VortexFSAssetParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSAssetParams_0p1.h b/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSAssetParams_0p1.h deleted file mode 100644 index fb969fe8..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSAssetParams_0p1.h +++ /dev/null @@ -1,241 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_VortexFSAssetParams_0p1_h -#define HEADER_VortexFSAssetParams_0p1_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace VortexFSAssetParams_0p1NS -{ - - - -struct ParametersStruct -{ - - float boundaryFadePercentage; - physx::PxVec3 axis; - float height; - float bottomRadius; - float topRadius; - float rotationalStrength; - float radialStrength; - float liftStrength; - float fieldDragCoeff; - float fieldWeight; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0xb3a96601, 0x15670e53, 0x6a2a32cd, 0xb4740788, }; - -} // namespace VortexFSAssetParams_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class VortexFSAssetParams_0p1 : public NvParameterized::NvParameters, public VortexFSAssetParams_0p1NS::ParametersStruct -{ -public: - VortexFSAssetParams_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~VortexFSAssetParams_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("VortexFSAssetParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)1; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(VortexFSAssetParams_0p1NS::checksum); - return VortexFSAssetParams_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const VortexFSAssetParams_0p1NS::ParametersStruct& parameters(void) const - { - VortexFSAssetParams_0p1* tmpThis = const_cast<VortexFSAssetParams_0p1*>(this); - return *(static_cast<VortexFSAssetParams_0p1NS::ParametersStruct*>(tmpThis)); - } - - VortexFSAssetParams_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<VortexFSAssetParams_0p1NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class VortexFSAssetParams_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - VortexFSAssetParams_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(VortexFSAssetParams_0p1), VortexFSAssetParams_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, VortexFSAssetParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class VortexFSAssetParams_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(VortexFSAssetParams_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, VortexFSAssetParams_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, VortexFSAssetParams_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, VortexFSAssetParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class VortexFSAssetParams_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of VortexFSAssetParams_0p1 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (VortexFSAssetParams_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (VortexFSAssetParams_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (VortexFSAssetParams_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (VortexFSAssetParams_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (VortexFSAssetParams_0p1::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSAssetParams_0p2.h b/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSAssetParams_0p2.h deleted file mode 100644 index d0822d3a..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSAssetParams_0p2.h +++ /dev/null @@ -1,243 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_VortexFSAssetParams_0p2_h -#define HEADER_VortexFSAssetParams_0p2_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace VortexFSAssetParams_0p2NS -{ - - - -struct ParametersStruct -{ - - float boundaryFadePercentage; - physx::PxVec3 axis; - bool bottomSphericalForce; - bool topSphericalForce; - float height; - float bottomRadius; - float topRadius; - float rotationalStrength; - float radialStrength; - float liftStrength; - float fieldDragCoeff; - float fieldWeight; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0x14505c9d, 0xbc126a67, 0x5ee6862c, 0x8b6bbbf2, }; - -} // namespace VortexFSAssetParams_0p2NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class VortexFSAssetParams_0p2 : public NvParameterized::NvParameters, public VortexFSAssetParams_0p2NS::ParametersStruct -{ -public: - VortexFSAssetParams_0p2(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~VortexFSAssetParams_0p2(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("VortexFSAssetParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)2; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(VortexFSAssetParams_0p2NS::checksum); - return VortexFSAssetParams_0p2NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const VortexFSAssetParams_0p2NS::ParametersStruct& parameters(void) const - { - VortexFSAssetParams_0p2* tmpThis = const_cast<VortexFSAssetParams_0p2*>(this); - return *(static_cast<VortexFSAssetParams_0p2NS::ParametersStruct*>(tmpThis)); - } - - VortexFSAssetParams_0p2NS::ParametersStruct& parameters(void) - { - return *(static_cast<VortexFSAssetParams_0p2NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class VortexFSAssetParams_0p2Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - VortexFSAssetParams_0p2::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(VortexFSAssetParams_0p2), VortexFSAssetParams_0p2::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, VortexFSAssetParams_0p2::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class VortexFSAssetParams_0p2"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(VortexFSAssetParams_0p2)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, VortexFSAssetParams_0p2)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, VortexFSAssetParams_0p2::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, VortexFSAssetParams_0p2::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class VortexFSAssetParams_0p2"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of VortexFSAssetParams_0p2 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (VortexFSAssetParams_0p2*)bufObj; - } - - virtual const char* getClassName() - { - return (VortexFSAssetParams_0p2::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (VortexFSAssetParams_0p2::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (VortexFSAssetParams_0p2::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (VortexFSAssetParams_0p2::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSPreviewParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSPreviewParams_0p0.h deleted file mode 100644 index f3748cca..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/VortexFSPreviewParams_0p0.h +++ /dev/null @@ -1,233 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_VortexFSPreviewParams_0p0_h -#define HEADER_VortexFSPreviewParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace VortexFSPreviewParams_0p0NS -{ - - - -struct ParametersStruct -{ - - physx::PxMat44 globalPose; - bool drawShape; - bool drawAssetInfo; - uint64_t userData; - -}; - -static const uint32_t checksum[] = { 0xbc265cbc, 0xf8125270, 0x2746f91e, 0xf4e63077, }; - -} // namespace VortexFSPreviewParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class VortexFSPreviewParams_0p0 : public NvParameterized::NvParameters, public VortexFSPreviewParams_0p0NS::ParametersStruct -{ -public: - VortexFSPreviewParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~VortexFSPreviewParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("VortexFSPreviewParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(VortexFSPreviewParams_0p0NS::checksum); - return VortexFSPreviewParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const VortexFSPreviewParams_0p0NS::ParametersStruct& parameters(void) const - { - VortexFSPreviewParams_0p0* tmpThis = const_cast<VortexFSPreviewParams_0p0*>(this); - return *(static_cast<VortexFSPreviewParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - VortexFSPreviewParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<VortexFSPreviewParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class VortexFSPreviewParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - VortexFSPreviewParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(VortexFSPreviewParams_0p0), VortexFSPreviewParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, VortexFSPreviewParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class VortexFSPreviewParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(VortexFSPreviewParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, VortexFSPreviewParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, VortexFSPreviewParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, VortexFSPreviewParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class VortexFSPreviewParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of VortexFSPreviewParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (VortexFSPreviewParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (VortexFSPreviewParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (VortexFSPreviewParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (VortexFSPreviewParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (VortexFSPreviewParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSActorParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSActorParams_0p0.h deleted file mode 100644 index c8626039..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSActorParams_0p0.h +++ /dev/null @@ -1,233 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_WindFSActorParams_0p0_h -#define HEADER_WindFSActorParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace WindFSActorParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float initialPose[12]; - float initialScale; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0xd55c781b, 0x04c7b790, 0x059ff1a4, 0x580967a0, }; - -} // namespace WindFSActorParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class WindFSActorParams_0p0 : public NvParameterized::NvParameters, public WindFSActorParams_0p0NS::ParametersStruct -{ -public: - WindFSActorParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~WindFSActorParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("WindFSActorParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(WindFSActorParams_0p0NS::checksum); - return WindFSActorParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const WindFSActorParams_0p0NS::ParametersStruct& parameters(void) const - { - WindFSActorParams_0p0* tmpThis = const_cast<WindFSActorParams_0p0*>(this); - return *(static_cast<WindFSActorParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - WindFSActorParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<WindFSActorParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class WindFSActorParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - WindFSActorParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(WindFSActorParams_0p0), WindFSActorParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, WindFSActorParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class WindFSActorParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(WindFSActorParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, WindFSActorParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, WindFSActorParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, WindFSActorParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class WindFSActorParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of WindFSActorParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (WindFSActorParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (WindFSActorParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (WindFSActorParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (WindFSActorParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (WindFSActorParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSActorParams_0p1.h b/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSActorParams_0p1.h deleted file mode 100644 index faf5bb87..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSActorParams_0p1.h +++ /dev/null @@ -1,233 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_WindFSActorParams_0p1_h -#define HEADER_WindFSActorParams_0p1_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace WindFSActorParams_0p1NS -{ - - - -struct ParametersStruct -{ - - physx::PxTransform initialPose; - float initialScale; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0xfbbdce26, 0x591f9e00, 0xc2836d8a, 0x30d980f8, }; - -} // namespace WindFSActorParams_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class WindFSActorParams_0p1 : public NvParameterized::NvParameters, public WindFSActorParams_0p1NS::ParametersStruct -{ -public: - WindFSActorParams_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~WindFSActorParams_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("WindFSActorParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)1; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(WindFSActorParams_0p1NS::checksum); - return WindFSActorParams_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const WindFSActorParams_0p1NS::ParametersStruct& parameters(void) const - { - WindFSActorParams_0p1* tmpThis = const_cast<WindFSActorParams_0p1*>(this); - return *(static_cast<WindFSActorParams_0p1NS::ParametersStruct*>(tmpThis)); - } - - WindFSActorParams_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<WindFSActorParams_0p1NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class WindFSActorParams_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - WindFSActorParams_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(WindFSActorParams_0p1), WindFSActorParams_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, WindFSActorParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class WindFSActorParams_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(WindFSActorParams_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, WindFSActorParams_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, WindFSActorParams_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, WindFSActorParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class WindFSActorParams_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of WindFSActorParams_0p1 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (WindFSActorParams_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (WindFSActorParams_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (WindFSActorParams_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (WindFSActorParams_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (WindFSActorParams_0p1::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSAssetParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSAssetParams_0p0.h deleted file mode 100644 index 7e0e886e..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSAssetParams_0p0.h +++ /dev/null @@ -1,238 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_WindFSAssetParams_0p0_h -#define HEADER_WindFSAssetParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace WindFSAssetParams_0p0NS -{ - - - -struct ParametersStruct -{ - - physx::PxVec3 fieldDirection; - float fieldDirectionDeviationAngle; - float fieldDirectionOscillationPeriod; - float fieldStrength; - float fieldStrengthDeviationPercentage; - float fieldStrengthOscillationPeriod; - float fieldDragCoeff; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0xfc07cfce, 0x16f5bf3f, 0x6278f094, 0xaf32883b, }; - -} // namespace WindFSAssetParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class WindFSAssetParams_0p0 : public NvParameterized::NvParameters, public WindFSAssetParams_0p0NS::ParametersStruct -{ -public: - WindFSAssetParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~WindFSAssetParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("WindFSAssetParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(WindFSAssetParams_0p0NS::checksum); - return WindFSAssetParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const WindFSAssetParams_0p0NS::ParametersStruct& parameters(void) const - { - WindFSAssetParams_0p0* tmpThis = const_cast<WindFSAssetParams_0p0*>(this); - return *(static_cast<WindFSAssetParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - WindFSAssetParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<WindFSAssetParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class WindFSAssetParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - WindFSAssetParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(WindFSAssetParams_0p0), WindFSAssetParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, WindFSAssetParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class WindFSAssetParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(WindFSAssetParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, WindFSAssetParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, WindFSAssetParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, WindFSAssetParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class WindFSAssetParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of WindFSAssetParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (WindFSAssetParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (WindFSAssetParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (WindFSAssetParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (WindFSAssetParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (WindFSAssetParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSAssetParams_0p1.h b/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSAssetParams_0p1.h deleted file mode 100644 index 692d05d4..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSAssetParams_0p1.h +++ /dev/null @@ -1,239 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_WindFSAssetParams_0p1_h -#define HEADER_WindFSAssetParams_0p1_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace WindFSAssetParams_0p1NS -{ - - - -struct ParametersStruct -{ - - physx::PxVec3 fieldDirection; - float fieldDirectionDeviationAngle; - float fieldDirectionOscillationPeriod; - float fieldStrength; - float fieldStrengthDeviationPercentage; - float fieldStrengthOscillationPeriod; - float fieldDragCoeff; - float fieldWeight; - NvParameterized::DummyStringStruct fieldBoundaryFilterDataName; - NvParameterized::DummyStringStruct fieldSamplerFilterDataName; - -}; - -static const uint32_t checksum[] = { 0x3e5a69fc, 0x251178a3, 0x76c98ef0, 0x28e1658a, }; - -} // namespace WindFSAssetParams_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class WindFSAssetParams_0p1 : public NvParameterized::NvParameters, public WindFSAssetParams_0p1NS::ParametersStruct -{ -public: - WindFSAssetParams_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~WindFSAssetParams_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("WindFSAssetParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)1; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(WindFSAssetParams_0p1NS::checksum); - return WindFSAssetParams_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const WindFSAssetParams_0p1NS::ParametersStruct& parameters(void) const - { - WindFSAssetParams_0p1* tmpThis = const_cast<WindFSAssetParams_0p1*>(this); - return *(static_cast<WindFSAssetParams_0p1NS::ParametersStruct*>(tmpThis)); - } - - WindFSAssetParams_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<WindFSAssetParams_0p1NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class WindFSAssetParams_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - WindFSAssetParams_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(WindFSAssetParams_0p1), WindFSAssetParams_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, WindFSAssetParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class WindFSAssetParams_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(WindFSAssetParams_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, WindFSAssetParams_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, WindFSAssetParams_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, WindFSAssetParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class WindFSAssetParams_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of WindFSAssetParams_0p1 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (WindFSAssetParams_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (WindFSAssetParams_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (WindFSAssetParams_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (WindFSAssetParams_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (WindFSAssetParams_0p1::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif diff --git a/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSPreviewParams_0p0.h b/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSPreviewParams_0p0.h deleted file mode 100644 index a10742ca..00000000 --- a/APEX_1.4/module/basicfs_legacy/include/autogen/WindFSPreviewParams_0p0.h +++ /dev/null @@ -1,232 +0,0 @@ -// This code contains NVIDIA Confidential Information and is disclosed to you -// under a form of NVIDIA software license agreement provided separately to you. -// -// Notice -// NVIDIA Corporation and its licensors retain all intellectual property and -// proprietary rights in and to this software and 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. -// -// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES -// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO -// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, -// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. -// -// Information and code furnished is believed to be accurate and reliable. -// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such -// information or for any infringement of patents or other rights of third parties that may -// result from its use. No license is granted by implication or otherwise under any patent -// or patent rights of NVIDIA Corporation. Details are subject to change without notice. -// This code supersedes and replaces all information previously supplied. -// NVIDIA Corporation products are not authorized for use as critical -// components in life support devices or systems without express written approval of -// NVIDIA Corporation. -// -// Copyright (c) 2008-2015 NVIDIA Corporation. All rights reserved. - -// This file was generated by NvParameterized/scripts/GenParameterized.pl - - -#ifndef HEADER_WindFSPreviewParams_0p0_h -#define HEADER_WindFSPreviewParams_0p0_h - -#include "NvParametersTypes.h" - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -#include "nvparameterized/NvParameterized.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "NvParameters.h" -#include "NvTraitsInternal.h" -#endif - -namespace nvidia -{ -namespace parameterized -{ - -#if PX_VC -#pragma warning(push) -#pragma warning(disable: 4324) // structure was padded due to __declspec(align()) -#endif - -namespace WindFSPreviewParams_0p0NS -{ - - - -struct ParametersStruct -{ - - physx::PxMat44 globalPose; - bool drawAssetInfo; - uint64_t userData; - -}; - -static const uint32_t checksum[] = { 0xb4818bbc, 0x84a817f6, 0x02ddad4a, 0x91a3c5ec, }; - -} // namespace WindFSPreviewParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class WindFSPreviewParams_0p0 : public NvParameterized::NvParameters, public WindFSPreviewParams_0p0NS::ParametersStruct -{ -public: - WindFSPreviewParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~WindFSPreviewParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("WindFSPreviewParams"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)0; - - static uint32_t staticVersion(void) - { - return ClassVersion; - } - - uint32_t version(void) const - { - return(staticVersion()); - } - - static const uint32_t ClassAlignment = 8; - - static const uint32_t* staticChecksum(uint32_t& bits) - { - bits = 8 * sizeof(WindFSPreviewParams_0p0NS::checksum); - return WindFSPreviewParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const WindFSPreviewParams_0p0NS::ParametersStruct& parameters(void) const - { - WindFSPreviewParams_0p0* tmpThis = const_cast<WindFSPreviewParams_0p0*>(this); - return *(static_cast<WindFSPreviewParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - WindFSPreviewParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<WindFSPreviewParams_0p0NS::ParametersStruct*>(this)); - } - - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle) const; - virtual NvParameterized::ErrorType getParameterHandle(const char* long_name, NvParameterized::Handle& handle); - - void initDefaults(void); - -protected: - - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void); - virtual const NvParameterized::DefinitionImpl* getParameterDefinitionTree(void) const; - - - virtual void getVarPtr(const NvParameterized::Handle& handle, void*& ptr, size_t& offset) const; - -private: - - void buildTree(void); - void initDynamicArrays(void); - void initStrings(void); - void initReferences(void); - void freeDynamicArrays(void); - void freeStrings(void); - void freeReferences(void); - - static bool mBuiltFlag; - static NvParameterized::MutexType mBuiltFlagMutex; -}; - -class WindFSPreviewParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - WindFSPreviewParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(WindFSPreviewParams_0p0), WindFSPreviewParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, WindFSPreviewParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class WindFSPreviewParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(WindFSPreviewParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, WindFSPreviewParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, WindFSPreviewParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, WindFSPreviewParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class WindFSPreviewParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of WindFSPreviewParams_0p0 here - // but it may call default constructors of members and spoil the data - NV_PARAM_PLACEMENT_NEW(bufObj, NvParameterized::NvParameters)(paramTraits, bufStart, refCount); - - // Init vtable (everything else is already initialized) - *(const char**)bufObj = vptr; - - return (WindFSPreviewParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (WindFSPreviewParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (WindFSPreviewParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (WindFSPreviewParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (WindFSPreviewParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif |