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/iofx_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/iofx_legacy/include/autogen')
53 files changed, 0 insertions, 12931 deletions
diff --git a/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsDensityCompositeModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsDensityCompositeModifierParams_0p0.h deleted file mode 100644 index 82129200..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsDensityCompositeModifierParams_0p0.h +++ /dev/null @@ -1,244 +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_ColorVsDensityCompositeModifierParams_0p0_h -#define HEADER_ColorVsDensityCompositeModifierParams_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 ColorVsDensityCompositeModifierParams_0p0NS -{ - -struct colorDensityStruct_Type; - -struct colorDensityStruct_DynamicArray1D_Type -{ - colorDensityStruct_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct colorDensityStruct_Type -{ - float density; - physx::PxVec4 color; -}; - -struct ParametersStruct -{ - - colorDensityStruct_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0x6ee7f5a0, 0xedd1e5d5, 0x6169ab3c, 0x868306ec, }; - -} // namespace ColorVsDensityCompositeModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ColorVsDensityCompositeModifierParams_0p0 : public NvParameterized::NvParameters, public ColorVsDensityCompositeModifierParams_0p0NS::ParametersStruct -{ -public: - ColorVsDensityCompositeModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ColorVsDensityCompositeModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ColorVsDensityCompositeModifierParams"); - } - - 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(ColorVsDensityCompositeModifierParams_0p0NS::checksum); - return ColorVsDensityCompositeModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ColorVsDensityCompositeModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ColorVsDensityCompositeModifierParams_0p0* tmpThis = const_cast<ColorVsDensityCompositeModifierParams_0p0*>(this); - return *(static_cast<ColorVsDensityCompositeModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ColorVsDensityCompositeModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ColorVsDensityCompositeModifierParams_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 ColorVsDensityCompositeModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ColorVsDensityCompositeModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ColorVsDensityCompositeModifierParams_0p0), ColorVsDensityCompositeModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ColorVsDensityCompositeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsDensityCompositeModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ColorVsDensityCompositeModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ColorVsDensityCompositeModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ColorVsDensityCompositeModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ColorVsDensityCompositeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsDensityCompositeModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ColorVsDensityCompositeModifierParams_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 (ColorVsDensityCompositeModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ColorVsDensityCompositeModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ColorVsDensityCompositeModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ColorVsDensityCompositeModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ColorVsDensityCompositeModifierParams_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/iofx_legacy/include/autogen/ColorVsDensityModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsDensityModifierParams_0p0.h deleted file mode 100644 index d395d0ae..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsDensityModifierParams_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_ColorVsDensityModifierParams_0p0_h -#define HEADER_ColorVsDensityModifierParams_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 ColorVsDensityModifierParams_0p0NS -{ - -struct vec2_Type; - -struct vec2_DynamicArray1D_Type -{ - vec2_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct vec2_Type -{ - float x; - float y; -}; - -struct ParametersStruct -{ - - const char* colorChannel; - vec2_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0xbd1ead31, 0x79bc4460, 0x6a89ef07, 0xbbe13350, }; - -} // namespace ColorVsDensityModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ColorVsDensityModifierParams_0p0 : public NvParameterized::NvParameters, public ColorVsDensityModifierParams_0p0NS::ParametersStruct -{ -public: - ColorVsDensityModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ColorVsDensityModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ColorVsDensityModifierParams"); - } - - 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(ColorVsDensityModifierParams_0p0NS::checksum); - return ColorVsDensityModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ColorVsDensityModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ColorVsDensityModifierParams_0p0* tmpThis = const_cast<ColorVsDensityModifierParams_0p0*>(this); - return *(static_cast<ColorVsDensityModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ColorVsDensityModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ColorVsDensityModifierParams_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 ColorVsDensityModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ColorVsDensityModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ColorVsDensityModifierParams_0p0), ColorVsDensityModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ColorVsDensityModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsDensityModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ColorVsDensityModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ColorVsDensityModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ColorVsDensityModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ColorVsDensityModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsDensityModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ColorVsDensityModifierParams_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 (ColorVsDensityModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ColorVsDensityModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ColorVsDensityModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ColorVsDensityModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ColorVsDensityModifierParams_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/iofx_legacy/include/autogen/ColorVsLifeCompositeModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsLifeCompositeModifierParams_0p0.h deleted file mode 100644 index cc3c24af..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsLifeCompositeModifierParams_0p0.h +++ /dev/null @@ -1,244 +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_ColorVsLifeCompositeModifierParams_0p0_h -#define HEADER_ColorVsLifeCompositeModifierParams_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 ColorVsLifeCompositeModifierParams_0p0NS -{ - -struct colorLifeStruct_Type; - -struct colorLifeStruct_DynamicArray1D_Type -{ - colorLifeStruct_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct colorLifeStruct_Type -{ - float lifeRemaining; - physx::PxVec4 color; -}; - -struct ParametersStruct -{ - - colorLifeStruct_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0x2ee279f3, 0x6440bf5b, 0x26d89b02, 0xc90fa659, }; - -} // namespace ColorVsLifeCompositeModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ColorVsLifeCompositeModifierParams_0p0 : public NvParameterized::NvParameters, public ColorVsLifeCompositeModifierParams_0p0NS::ParametersStruct -{ -public: - ColorVsLifeCompositeModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ColorVsLifeCompositeModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ColorVsLifeCompositeModifierParams"); - } - - 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(ColorVsLifeCompositeModifierParams_0p0NS::checksum); - return ColorVsLifeCompositeModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ColorVsLifeCompositeModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ColorVsLifeCompositeModifierParams_0p0* tmpThis = const_cast<ColorVsLifeCompositeModifierParams_0p0*>(this); - return *(static_cast<ColorVsLifeCompositeModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ColorVsLifeCompositeModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ColorVsLifeCompositeModifierParams_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 ColorVsLifeCompositeModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ColorVsLifeCompositeModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ColorVsLifeCompositeModifierParams_0p0), ColorVsLifeCompositeModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ColorVsLifeCompositeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsLifeCompositeModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ColorVsLifeCompositeModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ColorVsLifeCompositeModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ColorVsLifeCompositeModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ColorVsLifeCompositeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsLifeCompositeModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ColorVsLifeCompositeModifierParams_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 (ColorVsLifeCompositeModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ColorVsLifeCompositeModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ColorVsLifeCompositeModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ColorVsLifeCompositeModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ColorVsLifeCompositeModifierParams_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/iofx_legacy/include/autogen/ColorVsLifeModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsLifeModifierParams_0p0.h deleted file mode 100644 index 582a8ac2..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsLifeModifierParams_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_ColorVsLifeModifierParams_0p0_h -#define HEADER_ColorVsLifeModifierParams_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 ColorVsLifeModifierParams_0p0NS -{ - -struct vec2_Type; - -struct vec2_DynamicArray1D_Type -{ - vec2_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct vec2_Type -{ - float x; - float y; -}; - -struct ParametersStruct -{ - - const char* colorChannel; - vec2_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0x6273c5a3, 0xe1a0df26, 0x77f5af16, 0x6a54d1e7, }; - -} // namespace ColorVsLifeModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ColorVsLifeModifierParams_0p0 : public NvParameterized::NvParameters, public ColorVsLifeModifierParams_0p0NS::ParametersStruct -{ -public: - ColorVsLifeModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ColorVsLifeModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ColorVsLifeModifierParams"); - } - - 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(ColorVsLifeModifierParams_0p0NS::checksum); - return ColorVsLifeModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ColorVsLifeModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ColorVsLifeModifierParams_0p0* tmpThis = const_cast<ColorVsLifeModifierParams_0p0*>(this); - return *(static_cast<ColorVsLifeModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ColorVsLifeModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ColorVsLifeModifierParams_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 ColorVsLifeModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ColorVsLifeModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ColorVsLifeModifierParams_0p0), ColorVsLifeModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ColorVsLifeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsLifeModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ColorVsLifeModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ColorVsLifeModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ColorVsLifeModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ColorVsLifeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsLifeModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ColorVsLifeModifierParams_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 (ColorVsLifeModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ColorVsLifeModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ColorVsLifeModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ColorVsLifeModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ColorVsLifeModifierParams_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/iofx_legacy/include/autogen/ColorVsTemperatureCompositeModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsTemperatureCompositeModifierParams_0p0.h deleted file mode 100644 index 7e6b563e..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsTemperatureCompositeModifierParams_0p0.h +++ /dev/null @@ -1,244 +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_ColorVsTemperatureCompositeModifierParams_0p0_h -#define HEADER_ColorVsTemperatureCompositeModifierParams_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 ColorVsTemperatureCompositeModifierParams_0p0NS -{ - -struct colorTemperatureStruct_Type; - -struct colorTemperatureStruct_DynamicArray1D_Type -{ - colorTemperatureStruct_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct colorTemperatureStruct_Type -{ - float temperature; - physx::PxVec4 color; -}; - -struct ParametersStruct -{ - - colorTemperatureStruct_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0xb5bad295, 0x1bbde1e7, 0xb10b2dc3, 0xde67581e, }; - -} // namespace ColorVsTemperatureCompositeModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ColorVsTemperatureCompositeModifierParams_0p0 : public NvParameterized::NvParameters, public ColorVsTemperatureCompositeModifierParams_0p0NS::ParametersStruct -{ -public: - ColorVsTemperatureCompositeModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ColorVsTemperatureCompositeModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ColorVsTemperatureCompositeModifierParams"); - } - - 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(ColorVsTemperatureCompositeModifierParams_0p0NS::checksum); - return ColorVsTemperatureCompositeModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ColorVsTemperatureCompositeModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ColorVsTemperatureCompositeModifierParams_0p0* tmpThis = const_cast<ColorVsTemperatureCompositeModifierParams_0p0*>(this); - return *(static_cast<ColorVsTemperatureCompositeModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ColorVsTemperatureCompositeModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ColorVsTemperatureCompositeModifierParams_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 ColorVsTemperatureCompositeModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ColorVsTemperatureCompositeModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ColorVsTemperatureCompositeModifierParams_0p0), ColorVsTemperatureCompositeModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ColorVsTemperatureCompositeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsTemperatureCompositeModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ColorVsTemperatureCompositeModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ColorVsTemperatureCompositeModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ColorVsTemperatureCompositeModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ColorVsTemperatureCompositeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsTemperatureCompositeModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ColorVsTemperatureCompositeModifierParams_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 (ColorVsTemperatureCompositeModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ColorVsTemperatureCompositeModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ColorVsTemperatureCompositeModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ColorVsTemperatureCompositeModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ColorVsTemperatureCompositeModifierParams_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/iofx_legacy/include/autogen/ColorVsTemperatureModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsTemperatureModifierParams_0p0.h deleted file mode 100644 index ad95f92a..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsTemperatureModifierParams_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_ColorVsTemperatureModifierParams_0p0_h -#define HEADER_ColorVsTemperatureModifierParams_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 ColorVsTemperatureModifierParams_0p0NS -{ - -struct vec2_Type; - -struct vec2_DynamicArray1D_Type -{ - vec2_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct vec2_Type -{ - float x; - float y; -}; - -struct ParametersStruct -{ - - const char* colorChannel; - vec2_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0xe539a2ca, 0x44cf1564, 0xa6a2c047, 0xec15660d, }; - -} // namespace ColorVsTemperatureModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ColorVsTemperatureModifierParams_0p0 : public NvParameterized::NvParameters, public ColorVsTemperatureModifierParams_0p0NS::ParametersStruct -{ -public: - ColorVsTemperatureModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ColorVsTemperatureModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ColorVsTemperatureModifierParams"); - } - - 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(ColorVsTemperatureModifierParams_0p0NS::checksum); - return ColorVsTemperatureModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ColorVsTemperatureModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ColorVsTemperatureModifierParams_0p0* tmpThis = const_cast<ColorVsTemperatureModifierParams_0p0*>(this); - return *(static_cast<ColorVsTemperatureModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ColorVsTemperatureModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ColorVsTemperatureModifierParams_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 ColorVsTemperatureModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ColorVsTemperatureModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ColorVsTemperatureModifierParams_0p0), ColorVsTemperatureModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ColorVsTemperatureModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsTemperatureModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ColorVsTemperatureModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ColorVsTemperatureModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ColorVsTemperatureModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ColorVsTemperatureModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsTemperatureModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ColorVsTemperatureModifierParams_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 (ColorVsTemperatureModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ColorVsTemperatureModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ColorVsTemperatureModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ColorVsTemperatureModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ColorVsTemperatureModifierParams_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/iofx_legacy/include/autogen/ColorVsVelocityCompositeModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsVelocityCompositeModifierParams_0p0.h deleted file mode 100644 index ce0b397f..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsVelocityCompositeModifierParams_0p0.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_ColorVsVelocityCompositeModifierParams_0p0_h -#define HEADER_ColorVsVelocityCompositeModifierParams_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 ColorVsVelocityCompositeModifierParams_0p0NS -{ - -struct colorVelocityStruct_Type; - -struct colorVelocityStruct_DynamicArray1D_Type -{ - colorVelocityStruct_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct colorVelocityStruct_Type -{ - float velocity; - physx::PxVec4 color; -}; - -struct ParametersStruct -{ - - float velocity0; - float velocity1; - colorVelocityStruct_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0x85918a9e, 0x651f465d, 0x179721b9, 0x3bbd630d, }; - -} // namespace ColorVsVelocityCompositeModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ColorVsVelocityCompositeModifierParams_0p0 : public NvParameterized::NvParameters, public ColorVsVelocityCompositeModifierParams_0p0NS::ParametersStruct -{ -public: - ColorVsVelocityCompositeModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ColorVsVelocityCompositeModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ColorVsVelocityCompositeModifierParams"); - } - - 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(ColorVsVelocityCompositeModifierParams_0p0NS::checksum); - return ColorVsVelocityCompositeModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ColorVsVelocityCompositeModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ColorVsVelocityCompositeModifierParams_0p0* tmpThis = const_cast<ColorVsVelocityCompositeModifierParams_0p0*>(this); - return *(static_cast<ColorVsVelocityCompositeModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ColorVsVelocityCompositeModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ColorVsVelocityCompositeModifierParams_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 ColorVsVelocityCompositeModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ColorVsVelocityCompositeModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ColorVsVelocityCompositeModifierParams_0p0), ColorVsVelocityCompositeModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ColorVsVelocityCompositeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsVelocityCompositeModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ColorVsVelocityCompositeModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ColorVsVelocityCompositeModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ColorVsVelocityCompositeModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ColorVsVelocityCompositeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsVelocityCompositeModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ColorVsVelocityCompositeModifierParams_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 (ColorVsVelocityCompositeModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ColorVsVelocityCompositeModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ColorVsVelocityCompositeModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ColorVsVelocityCompositeModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ColorVsVelocityCompositeModifierParams_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/iofx_legacy/include/autogen/ColorVsVelocityModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsVelocityModifierParams_0p0.h deleted file mode 100644 index 227713c2..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ColorVsVelocityModifierParams_0p0.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_ColorVsVelocityModifierParams_0p0_h -#define HEADER_ColorVsVelocityModifierParams_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 ColorVsVelocityModifierParams_0p0NS -{ - -struct vec2_Type; - -struct vec2_DynamicArray1D_Type -{ - vec2_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct vec2_Type -{ - float x; - float y; -}; - -struct ParametersStruct -{ - - const char* colorChannel; - float velocity0; - float velocity1; - vec2_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0x4c79c470, 0xac91d48e, 0xa4578ba1, 0x9c1ae2f2, }; - -} // namespace ColorVsVelocityModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ColorVsVelocityModifierParams_0p0 : public NvParameterized::NvParameters, public ColorVsVelocityModifierParams_0p0NS::ParametersStruct -{ -public: - ColorVsVelocityModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ColorVsVelocityModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ColorVsVelocityModifierParams"); - } - - 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(ColorVsVelocityModifierParams_0p0NS::checksum); - return ColorVsVelocityModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ColorVsVelocityModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ColorVsVelocityModifierParams_0p0* tmpThis = const_cast<ColorVsVelocityModifierParams_0p0*>(this); - return *(static_cast<ColorVsVelocityModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ColorVsVelocityModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ColorVsVelocityModifierParams_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 ColorVsVelocityModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ColorVsVelocityModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ColorVsVelocityModifierParams_0p0), ColorVsVelocityModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ColorVsVelocityModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsVelocityModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ColorVsVelocityModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ColorVsVelocityModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ColorVsVelocityModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ColorVsVelocityModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ColorVsVelocityModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ColorVsVelocityModifierParams_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 (ColorVsVelocityModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ColorVsVelocityModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ColorVsVelocityModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ColorVsVelocityModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ColorVsVelocityModifierParams_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/iofx_legacy/include/autogen/InitialColorModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/InitialColorModifierParams_0p0.h deleted file mode 100644 index ad7e9799..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/InitialColorModifierParams_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_InitialColorModifierParams_0p0_h -#define HEADER_InitialColorModifierParams_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 InitialColorModifierParams_0p0NS -{ - - - -struct ParametersStruct -{ - - physx::PxVec4 color; - -}; - -static const uint32_t checksum[] = { 0xeede1183, 0x3f1f709f, 0x0957a3e8, 0x4a27910f, }; - -} // namespace InitialColorModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class InitialColorModifierParams_0p0 : public NvParameterized::NvParameters, public InitialColorModifierParams_0p0NS::ParametersStruct -{ -public: - InitialColorModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~InitialColorModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("InitialColorModifierParams"); - } - - 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(InitialColorModifierParams_0p0NS::checksum); - return InitialColorModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const InitialColorModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - InitialColorModifierParams_0p0* tmpThis = const_cast<InitialColorModifierParams_0p0*>(this); - return *(static_cast<InitialColorModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - InitialColorModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<InitialColorModifierParams_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 InitialColorModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - InitialColorModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(InitialColorModifierParams_0p0), InitialColorModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, InitialColorModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class InitialColorModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(InitialColorModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, InitialColorModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, InitialColorModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, InitialColorModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class InitialColorModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of InitialColorModifierParams_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 (InitialColorModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (InitialColorModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (InitialColorModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (InitialColorModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (InitialColorModifierParams_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/iofx_legacy/include/autogen/IofxAssetParameters_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/IofxAssetParameters_0p0.h deleted file mode 100644 index 5a635b2f..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/IofxAssetParameters_0p0.h +++ /dev/null @@ -1,255 +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_IofxAssetParameters_0p0_h -#define HEADER_IofxAssetParameters_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 IofxAssetParameters_0p0NS -{ - -struct meshProperties_Type; - -struct meshProperties_DynamicArray1D_Type -{ - meshProperties_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct REF_DynamicArray1D_Type -{ - NvParameterized::Interface** buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct meshProperties_Type -{ - NvParameterized::Interface* meshAssetName; - uint32_t weight; -}; - -struct ParametersStruct -{ - - meshProperties_DynamicArray1D_Type renderMeshList; - NvParameterized::Interface* spriteMaterialName; - REF_DynamicArray1D_Type spawnModifierList; - REF_DynamicArray1D_Type continuousModifierList; - -}; - -static const uint32_t checksum[] = { 0xd0fecc63, 0x54e1d41d, 0x01415624, 0x6c76ef09, }; - -} // namespace IofxAssetParameters_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class IofxAssetParameters_0p0 : public NvParameterized::NvParameters, public IofxAssetParameters_0p0NS::ParametersStruct -{ -public: - IofxAssetParameters_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~IofxAssetParameters_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("IofxAssetParameters"); - } - - 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(IofxAssetParameters_0p0NS::checksum); - return IofxAssetParameters_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const IofxAssetParameters_0p0NS::ParametersStruct& parameters(void) const - { - IofxAssetParameters_0p0* tmpThis = const_cast<IofxAssetParameters_0p0*>(this); - return *(static_cast<IofxAssetParameters_0p0NS::ParametersStruct*>(tmpThis)); - } - - IofxAssetParameters_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<IofxAssetParameters_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 IofxAssetParameters_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - IofxAssetParameters_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(IofxAssetParameters_0p0), IofxAssetParameters_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, IofxAssetParameters_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class IofxAssetParameters_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(IofxAssetParameters_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, IofxAssetParameters_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, IofxAssetParameters_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, IofxAssetParameters_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class IofxAssetParameters_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of IofxAssetParameters_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 (IofxAssetParameters_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (IofxAssetParameters_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (IofxAssetParameters_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (IofxAssetParameters_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (IofxAssetParameters_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/iofx_legacy/include/autogen/IofxAssetParameters_0p1.h b/APEX_1.4/module/iofx_legacy/include/autogen/IofxAssetParameters_0p1.h deleted file mode 100644 index 39fca56b..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/IofxAssetParameters_0p1.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_IofxAssetParameters_0p1_h -#define HEADER_IofxAssetParameters_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 IofxAssetParameters_0p1NS -{ - - - -struct ParametersStruct -{ - - NvParameterized::Interface* iofxType; - -}; - -static const uint32_t checksum[] = { 0x4f59ea8d, 0xffdb948a, 0x87165d25, 0xda1345f1, }; - -} // namespace IofxAssetParameters_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class IofxAssetParameters_0p1 : public NvParameterized::NvParameters, public IofxAssetParameters_0p1NS::ParametersStruct -{ -public: - IofxAssetParameters_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~IofxAssetParameters_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("IofxAssetParameters"); - } - - 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(IofxAssetParameters_0p1NS::checksum); - return IofxAssetParameters_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const IofxAssetParameters_0p1NS::ParametersStruct& parameters(void) const - { - IofxAssetParameters_0p1* tmpThis = const_cast<IofxAssetParameters_0p1*>(this); - return *(static_cast<IofxAssetParameters_0p1NS::ParametersStruct*>(tmpThis)); - } - - IofxAssetParameters_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<IofxAssetParameters_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 IofxAssetParameters_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - IofxAssetParameters_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(IofxAssetParameters_0p1), IofxAssetParameters_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, IofxAssetParameters_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class IofxAssetParameters_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(IofxAssetParameters_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, IofxAssetParameters_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, IofxAssetParameters_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, IofxAssetParameters_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class IofxAssetParameters_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of IofxAssetParameters_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 (IofxAssetParameters_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (IofxAssetParameters_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (IofxAssetParameters_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (IofxAssetParameters_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (IofxAssetParameters_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/iofx_legacy/include/autogen/IofxAssetParameters_0p2.h b/APEX_1.4/module/iofx_legacy/include/autogen/IofxAssetParameters_0p2.h deleted file mode 100644 index c51fc5db..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/IofxAssetParameters_0p2.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_IofxAssetParameters_0p2_h -#define HEADER_IofxAssetParameters_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 IofxAssetParameters_0p2NS -{ - -struct outputProperties_Type; - -struct outputProperties_Type -{ - bool useUserSemantic; - bool useFloat4Color; -}; - -struct ParametersStruct -{ - - NvParameterized::Interface* iofxType; - outputProperties_Type renderOutput; - -}; - -static const uint32_t checksum[] = { 0xbb5add57, 0xf771d298, 0xcd7c3bc3, 0x921baa57, }; - -} // namespace IofxAssetParameters_0p2NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class IofxAssetParameters_0p2 : public NvParameterized::NvParameters, public IofxAssetParameters_0p2NS::ParametersStruct -{ -public: - IofxAssetParameters_0p2(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~IofxAssetParameters_0p2(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("IofxAssetParameters"); - } - - 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(IofxAssetParameters_0p2NS::checksum); - return IofxAssetParameters_0p2NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const IofxAssetParameters_0p2NS::ParametersStruct& parameters(void) const - { - IofxAssetParameters_0p2* tmpThis = const_cast<IofxAssetParameters_0p2*>(this); - return *(static_cast<IofxAssetParameters_0p2NS::ParametersStruct*>(tmpThis)); - } - - IofxAssetParameters_0p2NS::ParametersStruct& parameters(void) - { - return *(static_cast<IofxAssetParameters_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 IofxAssetParameters_0p2Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - IofxAssetParameters_0p2::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(IofxAssetParameters_0p2), IofxAssetParameters_0p2::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, IofxAssetParameters_0p2::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class IofxAssetParameters_0p2"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(IofxAssetParameters_0p2)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, IofxAssetParameters_0p2)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, IofxAssetParameters_0p2::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, IofxAssetParameters_0p2::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class IofxAssetParameters_0p2"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of IofxAssetParameters_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 (IofxAssetParameters_0p2*)bufObj; - } - - virtual const char* getClassName() - { - return (IofxAssetParameters_0p2::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (IofxAssetParameters_0p2::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (IofxAssetParameters_0p2::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (IofxAssetParameters_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/iofx_legacy/include/autogen/IofxDebugRenderParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/IofxDebugRenderParams_0p0.h deleted file mode 100644 index bd8fbe98..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/IofxDebugRenderParams_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_IofxDebugRenderParams_0p0_h -#define HEADER_IofxDebugRenderParams_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 IofxDebugRenderParams_0p0NS -{ - - - -struct ParametersStruct -{ - - bool VISUALIZE_IOFX_ACTOR; - bool VISUALIZE_IOFX_BOUNDING_BOX; - bool VISUALIZE_IOFX_ACTOR_NAME; - -}; - -static const uint32_t checksum[] = { 0xa907935c, 0x197f0683, 0x47c3ea05, 0x61985bda, }; - -} // namespace IofxDebugRenderParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class IofxDebugRenderParams_0p0 : public NvParameterized::NvParameters, public IofxDebugRenderParams_0p0NS::ParametersStruct -{ -public: - IofxDebugRenderParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~IofxDebugRenderParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("IofxDebugRenderParams"); - } - - 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(IofxDebugRenderParams_0p0NS::checksum); - return IofxDebugRenderParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const IofxDebugRenderParams_0p0NS::ParametersStruct& parameters(void) const - { - IofxDebugRenderParams_0p0* tmpThis = const_cast<IofxDebugRenderParams_0p0*>(this); - return *(static_cast<IofxDebugRenderParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - IofxDebugRenderParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<IofxDebugRenderParams_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 IofxDebugRenderParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - IofxDebugRenderParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(IofxDebugRenderParams_0p0), IofxDebugRenderParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, IofxDebugRenderParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class IofxDebugRenderParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(IofxDebugRenderParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, IofxDebugRenderParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, IofxDebugRenderParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, IofxDebugRenderParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class IofxDebugRenderParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of IofxDebugRenderParams_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 (IofxDebugRenderParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (IofxDebugRenderParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (IofxDebugRenderParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (IofxDebugRenderParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (IofxDebugRenderParams_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/iofx_legacy/include/autogen/IofxModuleParameters_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/IofxModuleParameters_0p0.h deleted file mode 100644 index dbb98b2a..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/IofxModuleParameters_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_IofxModuleParameters_0p0_h -#define HEADER_IofxModuleParameters_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 IofxModuleParameters_0p0NS -{ - - - -struct ParametersStruct -{ - - uint32_t unused; - -}; - -static const uint32_t checksum[] = { 0x70f85d6f, 0xc44790e5, 0x2f3cd6fd, 0x9d4a542b, }; - -} // namespace IofxModuleParameters_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class IofxModuleParameters_0p0 : public NvParameterized::NvParameters, public IofxModuleParameters_0p0NS::ParametersStruct -{ -public: - IofxModuleParameters_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~IofxModuleParameters_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("IofxModuleParameters"); - } - - 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(IofxModuleParameters_0p0NS::checksum); - return IofxModuleParameters_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const IofxModuleParameters_0p0NS::ParametersStruct& parameters(void) const - { - IofxModuleParameters_0p0* tmpThis = const_cast<IofxModuleParameters_0p0*>(this); - return *(static_cast<IofxModuleParameters_0p0NS::ParametersStruct*>(tmpThis)); - } - - IofxModuleParameters_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<IofxModuleParameters_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 IofxModuleParameters_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - IofxModuleParameters_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(IofxModuleParameters_0p0), IofxModuleParameters_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, IofxModuleParameters_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class IofxModuleParameters_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(IofxModuleParameters_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, IofxModuleParameters_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, IofxModuleParameters_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, IofxModuleParameters_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class IofxModuleParameters_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of IofxModuleParameters_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 (IofxModuleParameters_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (IofxModuleParameters_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (IofxModuleParameters_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (IofxModuleParameters_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (IofxModuleParameters_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/iofx_legacy/include/autogen/MeshIofxParameters_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/MeshIofxParameters_0p0.h deleted file mode 100644 index 322a8727..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/MeshIofxParameters_0p0.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_MeshIofxParameters_0p0_h -#define HEADER_MeshIofxParameters_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 MeshIofxParameters_0p0NS -{ - -struct meshProperties_Type; - -struct meshProperties_DynamicArray1D_Type -{ - meshProperties_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct REF_DynamicArray1D_Type -{ - NvParameterized::Interface** buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct meshProperties_Type -{ - NvParameterized::Interface* meshAssetName; - uint32_t weight; -}; - -struct ParametersStruct -{ - - meshProperties_DynamicArray1D_Type renderMeshList; - REF_DynamicArray1D_Type spawnModifierList; - REF_DynamicArray1D_Type continuousModifierList; - -}; - -static const uint32_t checksum[] = { 0xa0c3f29f, 0x5dfadb24, 0xca44ca2c, 0x76243c01, }; - -} // namespace MeshIofxParameters_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class MeshIofxParameters_0p0 : public NvParameterized::NvParameters, public MeshIofxParameters_0p0NS::ParametersStruct -{ -public: - MeshIofxParameters_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~MeshIofxParameters_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("MeshIofxParameters"); - } - - 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(MeshIofxParameters_0p0NS::checksum); - return MeshIofxParameters_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const MeshIofxParameters_0p0NS::ParametersStruct& parameters(void) const - { - MeshIofxParameters_0p0* tmpThis = const_cast<MeshIofxParameters_0p0*>(this); - return *(static_cast<MeshIofxParameters_0p0NS::ParametersStruct*>(tmpThis)); - } - - MeshIofxParameters_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<MeshIofxParameters_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 MeshIofxParameters_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - MeshIofxParameters_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(MeshIofxParameters_0p0), MeshIofxParameters_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, MeshIofxParameters_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class MeshIofxParameters_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(MeshIofxParameters_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, MeshIofxParameters_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, MeshIofxParameters_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, MeshIofxParameters_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class MeshIofxParameters_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of MeshIofxParameters_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 (MeshIofxParameters_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (MeshIofxParameters_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (MeshIofxParameters_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (MeshIofxParameters_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (MeshIofxParameters_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/iofx_legacy/include/autogen/MeshIofxParameters_0p1.h b/APEX_1.4/module/iofx_legacy/include/autogen/MeshIofxParameters_0p1.h deleted file mode 100644 index 2eb450bd..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/MeshIofxParameters_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_MeshIofxParameters_0p1_h -#define HEADER_MeshIofxParameters_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 MeshIofxParameters_0p1NS -{ - -struct meshProperties_Type; - -struct meshProperties_DynamicArray1D_Type -{ - meshProperties_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct REF_DynamicArray1D_Type -{ - NvParameterized::Interface** buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct meshProperties_Type -{ - NvParameterized::Interface* meshAssetName; - uint32_t weight; -}; - -struct ParametersStruct -{ - - meshProperties_DynamicArray1D_Type renderMeshList; - REF_DynamicArray1D_Type spawnModifierList; - REF_DynamicArray1D_Type continuousModifierList; - -}; - -static const uint32_t checksum[] = { 0x68878fe3, 0xe53d77a0, 0x5178ce8f, 0x88a54038, }; - -} // namespace MeshIofxParameters_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class MeshIofxParameters_0p1 : public NvParameterized::NvParameters, public MeshIofxParameters_0p1NS::ParametersStruct -{ -public: - MeshIofxParameters_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~MeshIofxParameters_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("MeshIofxParameters"); - } - - 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(MeshIofxParameters_0p1NS::checksum); - return MeshIofxParameters_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const MeshIofxParameters_0p1NS::ParametersStruct& parameters(void) const - { - MeshIofxParameters_0p1* tmpThis = const_cast<MeshIofxParameters_0p1*>(this); - return *(static_cast<MeshIofxParameters_0p1NS::ParametersStruct*>(tmpThis)); - } - - MeshIofxParameters_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<MeshIofxParameters_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 MeshIofxParameters_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - MeshIofxParameters_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(MeshIofxParameters_0p1), MeshIofxParameters_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, MeshIofxParameters_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class MeshIofxParameters_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(MeshIofxParameters_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, MeshIofxParameters_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, MeshIofxParameters_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, MeshIofxParameters_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class MeshIofxParameters_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of MeshIofxParameters_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 (MeshIofxParameters_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (MeshIofxParameters_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (MeshIofxParameters_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (MeshIofxParameters_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (MeshIofxParameters_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/iofx_legacy/include/autogen/MeshIofxParameters_0p2.h b/APEX_1.4/module/iofx_legacy/include/autogen/MeshIofxParameters_0p2.h deleted file mode 100644 index 32bba331..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/MeshIofxParameters_0p2.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_MeshIofxParameters_0p2_h -#define HEADER_MeshIofxParameters_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 MeshIofxParameters_0p2NS -{ - -struct meshProperties_Type; - -struct meshProperties_DynamicArray1D_Type -{ - meshProperties_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct REF_DynamicArray1D_Type -{ - NvParameterized::Interface** buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct meshProperties_Type -{ - NvParameterized::Interface* meshAssetName; - uint32_t weight; -}; - -struct ParametersStruct -{ - - meshProperties_DynamicArray1D_Type renderMeshList; - REF_DynamicArray1D_Type spawnModifierList; - REF_DynamicArray1D_Type continuousModifierList; - -}; - -static const uint32_t checksum[] = { 0x01219894, 0xa1dc10d6, 0x3868a537, 0x2d1c47d1, }; - -} // namespace MeshIofxParameters_0p2NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class MeshIofxParameters_0p2 : public NvParameterized::NvParameters, public MeshIofxParameters_0p2NS::ParametersStruct -{ -public: - MeshIofxParameters_0p2(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~MeshIofxParameters_0p2(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("MeshIofxParameters"); - } - - 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(MeshIofxParameters_0p2NS::checksum); - return MeshIofxParameters_0p2NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const MeshIofxParameters_0p2NS::ParametersStruct& parameters(void) const - { - MeshIofxParameters_0p2* tmpThis = const_cast<MeshIofxParameters_0p2*>(this); - return *(static_cast<MeshIofxParameters_0p2NS::ParametersStruct*>(tmpThis)); - } - - MeshIofxParameters_0p2NS::ParametersStruct& parameters(void) - { - return *(static_cast<MeshIofxParameters_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 MeshIofxParameters_0p2Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - MeshIofxParameters_0p2::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(MeshIofxParameters_0p2), MeshIofxParameters_0p2::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, MeshIofxParameters_0p2::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class MeshIofxParameters_0p2"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(MeshIofxParameters_0p2)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, MeshIofxParameters_0p2)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, MeshIofxParameters_0p2::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, MeshIofxParameters_0p2::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class MeshIofxParameters_0p2"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of MeshIofxParameters_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 (MeshIofxParameters_0p2*)bufObj; - } - - virtual const char* getClassName() - { - return (MeshIofxParameters_0p2::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (MeshIofxParameters_0p2::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (MeshIofxParameters_0p2::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (MeshIofxParameters_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/iofx_legacy/include/autogen/MeshIofxParameters_0p3.h b/APEX_1.4/module/iofx_legacy/include/autogen/MeshIofxParameters_0p3.h deleted file mode 100644 index 784d5226..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/MeshIofxParameters_0p3.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_MeshIofxParameters_0p3_h -#define HEADER_MeshIofxParameters_0p3_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 MeshIofxParameters_0p3NS -{ - -struct meshProperties_Type; - -struct meshProperties_DynamicArray1D_Type -{ - meshProperties_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct REF_DynamicArray1D_Type -{ - NvParameterized::Interface** buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct meshProperties_Type -{ - NvParameterized::Interface* meshAssetName; - uint32_t weight; -}; - -struct ParametersStruct -{ - - meshProperties_DynamicArray1D_Type renderMeshList; - REF_DynamicArray1D_Type spawnModifierList; - REF_DynamicArray1D_Type continuousModifierList; - -}; - -static const uint32_t checksum[] = { 0x3c0c42df, 0x4d3621ee, 0x5b48542e, 0xa83ea448, }; - -} // namespace MeshIofxParameters_0p3NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class MeshIofxParameters_0p3 : public NvParameterized::NvParameters, public MeshIofxParameters_0p3NS::ParametersStruct -{ -public: - MeshIofxParameters_0p3(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~MeshIofxParameters_0p3(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("MeshIofxParameters"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)3; - - 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(MeshIofxParameters_0p3NS::checksum); - return MeshIofxParameters_0p3NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const MeshIofxParameters_0p3NS::ParametersStruct& parameters(void) const - { - MeshIofxParameters_0p3* tmpThis = const_cast<MeshIofxParameters_0p3*>(this); - return *(static_cast<MeshIofxParameters_0p3NS::ParametersStruct*>(tmpThis)); - } - - MeshIofxParameters_0p3NS::ParametersStruct& parameters(void) - { - return *(static_cast<MeshIofxParameters_0p3NS::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 MeshIofxParameters_0p3Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - MeshIofxParameters_0p3::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(MeshIofxParameters_0p3), MeshIofxParameters_0p3::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, MeshIofxParameters_0p3::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class MeshIofxParameters_0p3"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(MeshIofxParameters_0p3)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, MeshIofxParameters_0p3)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, MeshIofxParameters_0p3::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, MeshIofxParameters_0p3::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class MeshIofxParameters_0p3"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of MeshIofxParameters_0p3 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 (MeshIofxParameters_0p3*)bufObj; - } - - virtual const char* getClassName() - { - return (MeshIofxParameters_0p3::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (MeshIofxParameters_0p3::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (MeshIofxParameters_0p3::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (MeshIofxParameters_0p3::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/iofx_legacy/include/autogen/MeshIofxParameters_0p4.h b/APEX_1.4/module/iofx_legacy/include/autogen/MeshIofxParameters_0p4.h deleted file mode 100644 index 3876f6e5..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/MeshIofxParameters_0p4.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_MeshIofxParameters_0p4_h -#define HEADER_MeshIofxParameters_0p4_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 MeshIofxParameters_0p4NS -{ - -struct meshProperties_Type; - -struct meshProperties_DynamicArray1D_Type -{ - meshProperties_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct REF_DynamicArray1D_Type -{ - NvParameterized::Interface** buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct meshProperties_Type -{ - NvParameterized::Interface* meshAssetName; - uint32_t weight; -}; - -struct ParametersStruct -{ - - meshProperties_DynamicArray1D_Type renderMeshList; - REF_DynamicArray1D_Type spawnModifierList; - REF_DynamicArray1D_Type continuousModifierList; - -}; - -static const uint32_t checksum[] = { 0x823a573c, 0xd18e2215, 0x6fc4db63, 0x3df0022a, }; - -} // namespace MeshIofxParameters_0p4NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class MeshIofxParameters_0p4 : public NvParameterized::NvParameters, public MeshIofxParameters_0p4NS::ParametersStruct -{ -public: - MeshIofxParameters_0p4(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~MeshIofxParameters_0p4(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("MeshIofxParameters"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)4; - - 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(MeshIofxParameters_0p4NS::checksum); - return MeshIofxParameters_0p4NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const MeshIofxParameters_0p4NS::ParametersStruct& parameters(void) const - { - MeshIofxParameters_0p4* tmpThis = const_cast<MeshIofxParameters_0p4*>(this); - return *(static_cast<MeshIofxParameters_0p4NS::ParametersStruct*>(tmpThis)); - } - - MeshIofxParameters_0p4NS::ParametersStruct& parameters(void) - { - return *(static_cast<MeshIofxParameters_0p4NS::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 MeshIofxParameters_0p4Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - MeshIofxParameters_0p4::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(MeshIofxParameters_0p4), MeshIofxParameters_0p4::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, MeshIofxParameters_0p4::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class MeshIofxParameters_0p4"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(MeshIofxParameters_0p4)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, MeshIofxParameters_0p4)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, MeshIofxParameters_0p4::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, MeshIofxParameters_0p4::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class MeshIofxParameters_0p4"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of MeshIofxParameters_0p4 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 (MeshIofxParameters_0p4*)bufObj; - } - - virtual const char* getClassName() - { - return (MeshIofxParameters_0p4::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (MeshIofxParameters_0p4::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (MeshIofxParameters_0p4::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (MeshIofxParameters_0p4::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/iofx_legacy/include/autogen/ModuleIOFXLegacyRegistration.h b/APEX_1.4/module/iofx_legacy/include/autogen/ModuleIOFXLegacyRegistration.h deleted file mode 100644 index ed0c211b..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ModuleIOFXLegacyRegistration.h +++ /dev/null @@ -1,430 +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_MODULEIOFXLEGACYREGISTRATIONH_H -#define MODULE_MODULEIOFXLEGACYREGISTRATIONH_H - -#include "PsAllocator.h" -#include "NvRegistrationsForTraitsBase.h" -#include "nvparameterized/NvParameterizedTraits.h" -#include "PxAssert.h" -#include <stdint.h> - -// INCLUDE GENERATED FACTORIES -#include "IofxAssetParameters_0p0.h" -#include "IofxAssetParameters_0p1.h" -#include "MeshIofxParameters_0p0.h" -#include "MeshIofxParameters_0p1.h" -#include "MeshIofxParameters_0p2.h" -#include "MeshIofxParameters_0p3.h" -#include "OrientScaleAlongScreenVelocityModifierParams_0p0.h" -#include "RotationModifierParams_0p0.h" -#include "RotationModifierParams_0p1.h" -#include "SpriteIofxParameters_0p0.h" -#include "SpriteIofxParameters_0p1.h" -#include "SpriteIofxParameters_0p2.h" -#include "SpriteIofxParameters_0p3.h" -#include "IofxDebugRenderParams_0p0.h" -#include "IofxAssetParameters_0p2.h" -#include "MeshIofxParameters_0p4.h" -#include "SpriteIofxParameters_0p4.h" -#include "RotationModifierParams_0p2.h" -#include "SimpleScaleModifierParams_0p0.h" -#include "ScaleByMassModifierParams_0p0.h" -#include "RandomScaleModifierParams_0p0.h" -#include "ColorVsLifeModifierParams_0p0.h" -#include "ColorVsLifeCompositeModifierParams_0p0.h" -#include "InitialColorModifierParams_0p0.h" -#include "ScaleVsLifeModifierParams_0p0.h" -#include "ScaleVsLife3DModifierParams_0p0.h" -#include "ScaleVsLife2DModifierParams_0p0.h" -#include "ScaleVsDensityModifierParams_0p0.h" -#include "ScaleVsDensity3DModifierParams_0p0.h" -#include "ScaleVsDensity2DModifierParams_0p0.h" -#include "ScaleVsCameraDistanceModifierParams_0p0.h" -#include "ScaleVsCameraDistance3DModifierParams_0p0.h" -#include "ScaleVsCameraDistance2DModifierParams_0p0.h" -#include "ColorVsDensityModifierParams_0p0.h" -#include "ColorVsDensityCompositeModifierParams_0p0.h" -#include "SubtextureVsLifeModifierParams_0p0.h" -#include "OrientAlongVelocityModifierParams_0p0.h" -#include "ScaleAlongVelocityModifierParams_0p0.h" -#include "RandomSubtextureModifierParams_0p0.h" -#include "RandomRotationModifierParams_0p0.h" -#include "ViewDirectionSortingModifierParams_0p0.h" -#include "RotationRateModifierParams_0p0.h" -#include "RotationRateVsLifeModifierParams_0p0.h" -#include "OrientScaleAlongScreenVelocityModifierParams_0p1.h" -#include "ColorVsVelocityModifierParams_0p0.h" -#include "ColorVsVelocityCompositeModifierParams_0p0.h" -#include "ColorVsTemperatureModifierParams_0p0.h" -#include "ColorVsTemperatureCompositeModifierParams_0p0.h" -#include "ScaleVsTemperatureModifierParams_0p0.h" -#include "ScaleVsTemperature3DModifierParams_0p0.h" -#include "ScaleVsTemperature2DModifierParams_0p0.h" -#include "IofxModuleParameters_0p0.h" - - -// INCLUDE GENERATED CONVERSION -#include "ConversionIofxAssetParameters_0p0_0p1.h" -#include "ConversionIofxAssetParameters_0p1_0p2.h" -#include "ConversionMeshIofxParameters_0p0_0p1.h" -#include "ConversionMeshIofxParameters_0p1_0p2.h" -#include "ConversionMeshIofxParameters_0p2_0p3.h" -#include "ConversionMeshIofxParameters_0p3_0p4.h" -#include "ConversionOrientScaleAlongScreenVelocityModifierParams_0p0_0p1.h" -#include "ConversionRotationModifierParams_0p0_0p1.h" -#include "ConversionRotationModifierParams_0p1_0p2.h" -#include "ConversionSpriteIofxParameters_0p0_0p1.h" -#include "ConversionSpriteIofxParameters_0p1_0p2.h" -#include "ConversionSpriteIofxParameters_0p2_0p3.h" -#include "ConversionSpriteIofxParameters_0p3_0p4.h" - - -// global namespace - -class ModuleIOFXLegacyRegistration : public NvParameterized::RegistrationsForTraitsBase -{ -public: - static void invokeRegistration(NvParameterized::Traits* parameterizedTraits) - { - if (parameterizedTraits) - { - ModuleIOFXLegacyRegistration().registerAll(*parameterizedTraits); - } - } - - static void invokeUnregistration(NvParameterized::Traits* parameterizedTraits) - { - if (parameterizedTraits) - { - ModuleIOFXLegacyRegistration().unregisterAll(*parameterizedTraits); - } - } - - void registerAvailableFactories(NvParameterized::Traits& parameterizedTraits) - { - ::NvParameterized::Factory* factoriesToRegister[] = { -// REGISTER GENERATED FACTORIES - new nvidia::parameterized::IofxAssetParameters_0p0Factory(), - new nvidia::parameterized::IofxAssetParameters_0p1Factory(), - new nvidia::parameterized::MeshIofxParameters_0p0Factory(), - new nvidia::parameterized::MeshIofxParameters_0p1Factory(), - new nvidia::parameterized::MeshIofxParameters_0p2Factory(), - new nvidia::parameterized::MeshIofxParameters_0p3Factory(), - new nvidia::parameterized::OrientScaleAlongScreenVelocityModifierParams_0p0Factory(), - new nvidia::parameterized::RotationModifierParams_0p0Factory(), - new nvidia::parameterized::RotationModifierParams_0p1Factory(), - new nvidia::parameterized::SpriteIofxParameters_0p0Factory(), - new nvidia::parameterized::SpriteIofxParameters_0p1Factory(), - new nvidia::parameterized::SpriteIofxParameters_0p2Factory(), - new nvidia::parameterized::SpriteIofxParameters_0p3Factory(), - - }; - - 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::ConversionIofxAssetParameters_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionIofxAssetParameters_0p1_0p2 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionMeshIofxParameters_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionMeshIofxParameters_0p1_0p2 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionMeshIofxParameters_0p2_0p3 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionMeshIofxParameters_0p3_0p4 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionOrientScaleAlongScreenVelocityModifierParams_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionRotationModifierParams_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionRotationModifierParams_0p1_0p2 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionSpriteIofxParameters_0p0_0p1 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionSpriteIofxParameters_0p1_0p2 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionSpriteIofxParameters_0p2_0p3 ConverterToRegister; - parameterizedTraits.registerConversion(ConverterToRegister::TOldClass::staticClassName(), - ConverterToRegister::TOldClass::ClassVersion, - ConverterToRegister::TNewClass::ClassVersion, - *(ConverterToRegister::Create(¶meterizedTraits))); - } - { - typedef nvidia::apex::legacy::ConversionSpriteIofxParameters_0p3_0p4 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::IofxAssetParameters_0p0Factory(), - new nvidia::parameterized::IofxAssetParameters_0p1Factory(), - new nvidia::parameterized::MeshIofxParameters_0p0Factory(), - new nvidia::parameterized::MeshIofxParameters_0p1Factory(), - new nvidia::parameterized::MeshIofxParameters_0p2Factory(), - new nvidia::parameterized::MeshIofxParameters_0p3Factory(), - new nvidia::parameterized::OrientScaleAlongScreenVelocityModifierParams_0p0Factory(), - new nvidia::parameterized::RotationModifierParams_0p0Factory(), - new nvidia::parameterized::RotationModifierParams_0p1Factory(), - new nvidia::parameterized::SpriteIofxParameters_0p0Factory(), - new nvidia::parameterized::SpriteIofxParameters_0p1Factory(), - new nvidia::parameterized::SpriteIofxParameters_0p2Factory(), - new nvidia::parameterized::SpriteIofxParameters_0p3Factory(), - - }; - - 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::ConversionIofxAssetParameters_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::ConversionIofxAssetParameters_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::ConversionMeshIofxParameters_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::ConversionMeshIofxParameters_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::ConversionMeshIofxParameters_0p2_0p3 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::ConversionMeshIofxParameters_0p3_0p4 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::ConversionOrientScaleAlongScreenVelocityModifierParams_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::ConversionRotationModifierParams_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::ConversionRotationModifierParams_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::ConversionSpriteIofxParameters_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::ConversionSpriteIofxParameters_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::ConversionSpriteIofxParameters_0p2_0p3 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::ConversionSpriteIofxParameters_0p3_0p4 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/iofx_legacy/include/autogen/OrientAlongVelocityModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/OrientAlongVelocityModifierParams_0p0.h deleted file mode 100644 index eee5d40a..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/OrientAlongVelocityModifierParams_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_OrientAlongVelocityModifierParams_0p0_h -#define HEADER_OrientAlongVelocityModifierParams_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 OrientAlongVelocityModifierParams_0p0NS -{ - - - -struct ParametersStruct -{ - - physx::PxVec3 modelForward; - -}; - -static const uint32_t checksum[] = { 0xbec07bae, 0xf99a7cd3, 0xa819cd23, 0xe75ba471, }; - -} // namespace OrientAlongVelocityModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class OrientAlongVelocityModifierParams_0p0 : public NvParameterized::NvParameters, public OrientAlongVelocityModifierParams_0p0NS::ParametersStruct -{ -public: - OrientAlongVelocityModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~OrientAlongVelocityModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("OrientAlongVelocityModifierParams"); - } - - 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(OrientAlongVelocityModifierParams_0p0NS::checksum); - return OrientAlongVelocityModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const OrientAlongVelocityModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - OrientAlongVelocityModifierParams_0p0* tmpThis = const_cast<OrientAlongVelocityModifierParams_0p0*>(this); - return *(static_cast<OrientAlongVelocityModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - OrientAlongVelocityModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<OrientAlongVelocityModifierParams_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 OrientAlongVelocityModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - OrientAlongVelocityModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(OrientAlongVelocityModifierParams_0p0), OrientAlongVelocityModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, OrientAlongVelocityModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class OrientAlongVelocityModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(OrientAlongVelocityModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, OrientAlongVelocityModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, OrientAlongVelocityModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, OrientAlongVelocityModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class OrientAlongVelocityModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of OrientAlongVelocityModifierParams_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 (OrientAlongVelocityModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (OrientAlongVelocityModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (OrientAlongVelocityModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (OrientAlongVelocityModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (OrientAlongVelocityModifierParams_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/iofx_legacy/include/autogen/OrientScaleAlongScreenVelocityModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/OrientScaleAlongScreenVelocityModifierParams_0p0.h deleted file mode 100644 index 523d869f..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/OrientScaleAlongScreenVelocityModifierParams_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_OrientScaleAlongScreenVelocityModifierParams_0p0_h -#define HEADER_OrientScaleAlongScreenVelocityModifierParams_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 OrientScaleAlongScreenVelocityModifierParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float scalePerVelocity; - -}; - -static const uint32_t checksum[] = { 0xf08408dd, 0x7267c270, 0x443cb618, 0x54d60d9e, }; - -} // namespace OrientScaleAlongScreenVelocityModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class OrientScaleAlongScreenVelocityModifierParams_0p0 : public NvParameterized::NvParameters, public OrientScaleAlongScreenVelocityModifierParams_0p0NS::ParametersStruct -{ -public: - OrientScaleAlongScreenVelocityModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~OrientScaleAlongScreenVelocityModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("OrientScaleAlongScreenVelocityModifierParams"); - } - - 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(OrientScaleAlongScreenVelocityModifierParams_0p0NS::checksum); - return OrientScaleAlongScreenVelocityModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const OrientScaleAlongScreenVelocityModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - OrientScaleAlongScreenVelocityModifierParams_0p0* tmpThis = const_cast<OrientScaleAlongScreenVelocityModifierParams_0p0*>(this); - return *(static_cast<OrientScaleAlongScreenVelocityModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - OrientScaleAlongScreenVelocityModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<OrientScaleAlongScreenVelocityModifierParams_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 OrientScaleAlongScreenVelocityModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - OrientScaleAlongScreenVelocityModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(OrientScaleAlongScreenVelocityModifierParams_0p0), OrientScaleAlongScreenVelocityModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, OrientScaleAlongScreenVelocityModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class OrientScaleAlongScreenVelocityModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(OrientScaleAlongScreenVelocityModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, OrientScaleAlongScreenVelocityModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, OrientScaleAlongScreenVelocityModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, OrientScaleAlongScreenVelocityModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class OrientScaleAlongScreenVelocityModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of OrientScaleAlongScreenVelocityModifierParams_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 (OrientScaleAlongScreenVelocityModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (OrientScaleAlongScreenVelocityModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (OrientScaleAlongScreenVelocityModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (OrientScaleAlongScreenVelocityModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (OrientScaleAlongScreenVelocityModifierParams_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/iofx_legacy/include/autogen/OrientScaleAlongScreenVelocityModifierParams_0p1.h b/APEX_1.4/module/iofx_legacy/include/autogen/OrientScaleAlongScreenVelocityModifierParams_0p1.h deleted file mode 100644 index 77babfbf..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/OrientScaleAlongScreenVelocityModifierParams_0p1.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_OrientScaleAlongScreenVelocityModifierParams_0p1_h -#define HEADER_OrientScaleAlongScreenVelocityModifierParams_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 OrientScaleAlongScreenVelocityModifierParams_0p1NS -{ - - - -struct ParametersStruct -{ - - float scalePerVelocity; - float scaleChangeLimit; - float scaleChangeDelay; - -}; - -static const uint32_t checksum[] = { 0x2a151b3c, 0x4a3faff3, 0xb9e6ebc2, 0x6ec77c7c, }; - -} // namespace OrientScaleAlongScreenVelocityModifierParams_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class OrientScaleAlongScreenVelocityModifierParams_0p1 : public NvParameterized::NvParameters, public OrientScaleAlongScreenVelocityModifierParams_0p1NS::ParametersStruct -{ -public: - OrientScaleAlongScreenVelocityModifierParams_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~OrientScaleAlongScreenVelocityModifierParams_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("OrientScaleAlongScreenVelocityModifierParams"); - } - - 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(OrientScaleAlongScreenVelocityModifierParams_0p1NS::checksum); - return OrientScaleAlongScreenVelocityModifierParams_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const OrientScaleAlongScreenVelocityModifierParams_0p1NS::ParametersStruct& parameters(void) const - { - OrientScaleAlongScreenVelocityModifierParams_0p1* tmpThis = const_cast<OrientScaleAlongScreenVelocityModifierParams_0p1*>(this); - return *(static_cast<OrientScaleAlongScreenVelocityModifierParams_0p1NS::ParametersStruct*>(tmpThis)); - } - - OrientScaleAlongScreenVelocityModifierParams_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<OrientScaleAlongScreenVelocityModifierParams_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 OrientScaleAlongScreenVelocityModifierParams_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - OrientScaleAlongScreenVelocityModifierParams_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(OrientScaleAlongScreenVelocityModifierParams_0p1), OrientScaleAlongScreenVelocityModifierParams_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, OrientScaleAlongScreenVelocityModifierParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class OrientScaleAlongScreenVelocityModifierParams_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(OrientScaleAlongScreenVelocityModifierParams_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, OrientScaleAlongScreenVelocityModifierParams_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, OrientScaleAlongScreenVelocityModifierParams_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, OrientScaleAlongScreenVelocityModifierParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class OrientScaleAlongScreenVelocityModifierParams_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of OrientScaleAlongScreenVelocityModifierParams_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 (OrientScaleAlongScreenVelocityModifierParams_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (OrientScaleAlongScreenVelocityModifierParams_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (OrientScaleAlongScreenVelocityModifierParams_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (OrientScaleAlongScreenVelocityModifierParams_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (OrientScaleAlongScreenVelocityModifierParams_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/iofx_legacy/include/autogen/RandomRotationModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/RandomRotationModifierParams_0p0.h deleted file mode 100644 index 7da34e73..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/RandomRotationModifierParams_0p0.h +++ /dev/null @@ -1,231 +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_RandomRotationModifierParams_0p0_h -#define HEADER_RandomRotationModifierParams_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 RandomRotationModifierParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float minRotation; - float maxRotation; - -}; - -static const uint32_t checksum[] = { 0xa4b51fa4, 0x02427ca9, 0xff6c9fc0, 0xe34b89b6, }; - -} // namespace RandomRotationModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class RandomRotationModifierParams_0p0 : public NvParameterized::NvParameters, public RandomRotationModifierParams_0p0NS::ParametersStruct -{ -public: - RandomRotationModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~RandomRotationModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("RandomRotationModifierParams"); - } - - 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(RandomRotationModifierParams_0p0NS::checksum); - return RandomRotationModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const RandomRotationModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - RandomRotationModifierParams_0p0* tmpThis = const_cast<RandomRotationModifierParams_0p0*>(this); - return *(static_cast<RandomRotationModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - RandomRotationModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<RandomRotationModifierParams_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 RandomRotationModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - RandomRotationModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(RandomRotationModifierParams_0p0), RandomRotationModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, RandomRotationModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RandomRotationModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(RandomRotationModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, RandomRotationModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, RandomRotationModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, RandomRotationModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RandomRotationModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of RandomRotationModifierParams_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 (RandomRotationModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (RandomRotationModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (RandomRotationModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (RandomRotationModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (RandomRotationModifierParams_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/iofx_legacy/include/autogen/RandomScaleModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/RandomScaleModifierParams_0p0.h deleted file mode 100644 index e88a18e7..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/RandomScaleModifierParams_0p0.h +++ /dev/null @@ -1,231 +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_RandomScaleModifierParams_0p0_h -#define HEADER_RandomScaleModifierParams_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 RandomScaleModifierParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float minScaleFactor; - float maxScaleFactor; - -}; - -static const uint32_t checksum[] = { 0x393214a5, 0x3920927a, 0x6b466949, 0x38714cd7, }; - -} // namespace RandomScaleModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class RandomScaleModifierParams_0p0 : public NvParameterized::NvParameters, public RandomScaleModifierParams_0p0NS::ParametersStruct -{ -public: - RandomScaleModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~RandomScaleModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("RandomScaleModifierParams"); - } - - 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(RandomScaleModifierParams_0p0NS::checksum); - return RandomScaleModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const RandomScaleModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - RandomScaleModifierParams_0p0* tmpThis = const_cast<RandomScaleModifierParams_0p0*>(this); - return *(static_cast<RandomScaleModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - RandomScaleModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<RandomScaleModifierParams_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 RandomScaleModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - RandomScaleModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(RandomScaleModifierParams_0p0), RandomScaleModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, RandomScaleModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RandomScaleModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(RandomScaleModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, RandomScaleModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, RandomScaleModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, RandomScaleModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RandomScaleModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of RandomScaleModifierParams_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 (RandomScaleModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (RandomScaleModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (RandomScaleModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (RandomScaleModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (RandomScaleModifierParams_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/iofx_legacy/include/autogen/RandomSubtextureModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/RandomSubtextureModifierParams_0p0.h deleted file mode 100644 index 03f72c7c..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/RandomSubtextureModifierParams_0p0.h +++ /dev/null @@ -1,231 +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_RandomSubtextureModifierParams_0p0_h -#define HEADER_RandomSubtextureModifierParams_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 RandomSubtextureModifierParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float minSubtexture; - float maxSubtexture; - -}; - -static const uint32_t checksum[] = { 0x08f8796a, 0xa2e2f9c5, 0x8997cd3a, 0xc27f7e3a, }; - -} // namespace RandomSubtextureModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class RandomSubtextureModifierParams_0p0 : public NvParameterized::NvParameters, public RandomSubtextureModifierParams_0p0NS::ParametersStruct -{ -public: - RandomSubtextureModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~RandomSubtextureModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("RandomSubtextureModifierParams"); - } - - 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(RandomSubtextureModifierParams_0p0NS::checksum); - return RandomSubtextureModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const RandomSubtextureModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - RandomSubtextureModifierParams_0p0* tmpThis = const_cast<RandomSubtextureModifierParams_0p0*>(this); - return *(static_cast<RandomSubtextureModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - RandomSubtextureModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<RandomSubtextureModifierParams_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 RandomSubtextureModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - RandomSubtextureModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(RandomSubtextureModifierParams_0p0), RandomSubtextureModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, RandomSubtextureModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RandomSubtextureModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(RandomSubtextureModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, RandomSubtextureModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, RandomSubtextureModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, RandomSubtextureModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RandomSubtextureModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of RandomSubtextureModifierParams_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 (RandomSubtextureModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (RandomSubtextureModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (RandomSubtextureModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (RandomSubtextureModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (RandomSubtextureModifierParams_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/iofx_legacy/include/autogen/RotationModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/RotationModifierParams_0p0.h deleted file mode 100644 index 36377fd5..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/RotationModifierParams_0p0.h +++ /dev/null @@ -1,234 +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_RotationModifierParams_0p0_h -#define HEADER_RotationModifierParams_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 RotationModifierParams_0p0NS -{ - - - -struct ParametersStruct -{ - - const char* rollType; - float maxRotationRatePerSec; - float maxSettleRatePerSec; - float inAirRotationMultiplier; - float collisionRotationMultiplier; - -}; - -static const uint32_t checksum[] = { 0x962242b0, 0x08c5a118, 0x531f8120, 0xb59848e7, }; - -} // namespace RotationModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class RotationModifierParams_0p0 : public NvParameterized::NvParameters, public RotationModifierParams_0p0NS::ParametersStruct -{ -public: - RotationModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~RotationModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("RotationModifierParams"); - } - - 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(RotationModifierParams_0p0NS::checksum); - return RotationModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const RotationModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - RotationModifierParams_0p0* tmpThis = const_cast<RotationModifierParams_0p0*>(this); - return *(static_cast<RotationModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - RotationModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<RotationModifierParams_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 RotationModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - RotationModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(RotationModifierParams_0p0), RotationModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, RotationModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RotationModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(RotationModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, RotationModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, RotationModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, RotationModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RotationModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of RotationModifierParams_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 (RotationModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (RotationModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (RotationModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (RotationModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (RotationModifierParams_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/iofx_legacy/include/autogen/RotationModifierParams_0p1.h b/APEX_1.4/module/iofx_legacy/include/autogen/RotationModifierParams_0p1.h deleted file mode 100644 index 936446aa..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/RotationModifierParams_0p1.h +++ /dev/null @@ -1,234 +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_RotationModifierParams_0p1_h -#define HEADER_RotationModifierParams_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 RotationModifierParams_0p1NS -{ - - - -struct ParametersStruct -{ - - const char* rollType; - float maxRotationRatePerSec; - float maxSettleRatePerSec; - float inAirRotationMultiplier; - float collisionRotationMultiplier; - -}; - -static const uint32_t checksum[] = { 0xcf3b33a5, 0x090197ba, 0xe9b4a8b5, 0xc5d33f94, }; - -} // namespace RotationModifierParams_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class RotationModifierParams_0p1 : public NvParameterized::NvParameters, public RotationModifierParams_0p1NS::ParametersStruct -{ -public: - RotationModifierParams_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~RotationModifierParams_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("RotationModifierParams"); - } - - 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(RotationModifierParams_0p1NS::checksum); - return RotationModifierParams_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const RotationModifierParams_0p1NS::ParametersStruct& parameters(void) const - { - RotationModifierParams_0p1* tmpThis = const_cast<RotationModifierParams_0p1*>(this); - return *(static_cast<RotationModifierParams_0p1NS::ParametersStruct*>(tmpThis)); - } - - RotationModifierParams_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<RotationModifierParams_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 RotationModifierParams_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - RotationModifierParams_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(RotationModifierParams_0p1), RotationModifierParams_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, RotationModifierParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RotationModifierParams_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(RotationModifierParams_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, RotationModifierParams_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, RotationModifierParams_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, RotationModifierParams_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RotationModifierParams_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of RotationModifierParams_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 (RotationModifierParams_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (RotationModifierParams_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (RotationModifierParams_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (RotationModifierParams_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (RotationModifierParams_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/iofx_legacy/include/autogen/RotationModifierParams_0p2.h b/APEX_1.4/module/iofx_legacy/include/autogen/RotationModifierParams_0p2.h deleted file mode 100644 index 87512f87..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/RotationModifierParams_0p2.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_RotationModifierParams_0p2_h -#define HEADER_RotationModifierParams_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 RotationModifierParams_0p2NS -{ - - - -struct ParametersStruct -{ - - const char* rollType; - float maxRotationRatePerSec; - float maxSettleRatePerSec; - float inAirRotationMultiplier; - float collisionRotationMultiplier; - bool includeVerticalDirection; - -}; - -static const uint32_t checksum[] = { 0xd2cf5d27, 0xa1732803, 0xcaa84b84, 0x18ed9e7c, }; - -} // namespace RotationModifierParams_0p2NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class RotationModifierParams_0p2 : public NvParameterized::NvParameters, public RotationModifierParams_0p2NS::ParametersStruct -{ -public: - RotationModifierParams_0p2(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~RotationModifierParams_0p2(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("RotationModifierParams"); - } - - 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(RotationModifierParams_0p2NS::checksum); - return RotationModifierParams_0p2NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const RotationModifierParams_0p2NS::ParametersStruct& parameters(void) const - { - RotationModifierParams_0p2* tmpThis = const_cast<RotationModifierParams_0p2*>(this); - return *(static_cast<RotationModifierParams_0p2NS::ParametersStruct*>(tmpThis)); - } - - RotationModifierParams_0p2NS::ParametersStruct& parameters(void) - { - return *(static_cast<RotationModifierParams_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 RotationModifierParams_0p2Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - RotationModifierParams_0p2::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(RotationModifierParams_0p2), RotationModifierParams_0p2::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, RotationModifierParams_0p2::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RotationModifierParams_0p2"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(RotationModifierParams_0p2)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, RotationModifierParams_0p2)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, RotationModifierParams_0p2::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, RotationModifierParams_0p2::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RotationModifierParams_0p2"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of RotationModifierParams_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 (RotationModifierParams_0p2*)bufObj; - } - - virtual const char* getClassName() - { - return (RotationModifierParams_0p2::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (RotationModifierParams_0p2::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (RotationModifierParams_0p2::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (RotationModifierParams_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/iofx_legacy/include/autogen/RotationRateModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/RotationRateModifierParams_0p0.h deleted file mode 100644 index 742f374a..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/RotationRateModifierParams_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_RotationRateModifierParams_0p0_h -#define HEADER_RotationRateModifierParams_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 RotationRateModifierParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float rotationRate; - -}; - -static const uint32_t checksum[] = { 0x250808c0, 0x4e8042ab, 0x9e0339e9, 0x3130e44d, }; - -} // namespace RotationRateModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class RotationRateModifierParams_0p0 : public NvParameterized::NvParameters, public RotationRateModifierParams_0p0NS::ParametersStruct -{ -public: - RotationRateModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~RotationRateModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("RotationRateModifierParams"); - } - - 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(RotationRateModifierParams_0p0NS::checksum); - return RotationRateModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const RotationRateModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - RotationRateModifierParams_0p0* tmpThis = const_cast<RotationRateModifierParams_0p0*>(this); - return *(static_cast<RotationRateModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - RotationRateModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<RotationRateModifierParams_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 RotationRateModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - RotationRateModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(RotationRateModifierParams_0p0), RotationRateModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, RotationRateModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RotationRateModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(RotationRateModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, RotationRateModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, RotationRateModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, RotationRateModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RotationRateModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of RotationRateModifierParams_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 (RotationRateModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (RotationRateModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (RotationRateModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (RotationRateModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (RotationRateModifierParams_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/iofx_legacy/include/autogen/RotationRateVsLifeModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/RotationRateVsLifeModifierParams_0p0.h deleted file mode 100644 index 15b0e896..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/RotationRateVsLifeModifierParams_0p0.h +++ /dev/null @@ -1,244 +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_RotationRateVsLifeModifierParams_0p0_h -#define HEADER_RotationRateVsLifeModifierParams_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 RotationRateVsLifeModifierParams_0p0NS -{ - -struct vec2_Type; - -struct vec2_DynamicArray1D_Type -{ - vec2_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct vec2_Type -{ - float x; - float y; -}; - -struct ParametersStruct -{ - - vec2_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0x704cda91, 0xcc96c538, 0x11f054f6, 0xa3fc1c9e, }; - -} // namespace RotationRateVsLifeModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class RotationRateVsLifeModifierParams_0p0 : public NvParameterized::NvParameters, public RotationRateVsLifeModifierParams_0p0NS::ParametersStruct -{ -public: - RotationRateVsLifeModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~RotationRateVsLifeModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("RotationRateVsLifeModifierParams"); - } - - 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(RotationRateVsLifeModifierParams_0p0NS::checksum); - return RotationRateVsLifeModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const RotationRateVsLifeModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - RotationRateVsLifeModifierParams_0p0* tmpThis = const_cast<RotationRateVsLifeModifierParams_0p0*>(this); - return *(static_cast<RotationRateVsLifeModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - RotationRateVsLifeModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<RotationRateVsLifeModifierParams_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 RotationRateVsLifeModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - RotationRateVsLifeModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(RotationRateVsLifeModifierParams_0p0), RotationRateVsLifeModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, RotationRateVsLifeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RotationRateVsLifeModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(RotationRateVsLifeModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, RotationRateVsLifeModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, RotationRateVsLifeModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, RotationRateVsLifeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class RotationRateVsLifeModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of RotationRateVsLifeModifierParams_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 (RotationRateVsLifeModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (RotationRateVsLifeModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (RotationRateVsLifeModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (RotationRateVsLifeModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (RotationRateVsLifeModifierParams_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/iofx_legacy/include/autogen/ScaleAlongVelocityModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ScaleAlongVelocityModifierParams_0p0.h deleted file mode 100644 index 01cd4432..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ScaleAlongVelocityModifierParams_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_ScaleAlongVelocityModifierParams_0p0_h -#define HEADER_ScaleAlongVelocityModifierParams_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 ScaleAlongVelocityModifierParams_0p0NS -{ - - - -struct ParametersStruct -{ - - float scaleFactor; - -}; - -static const uint32_t checksum[] = { 0x3c361211, 0x221d234b, 0x639bf597, 0xcca2608b, }; - -} // namespace ScaleAlongVelocityModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ScaleAlongVelocityModifierParams_0p0 : public NvParameterized::NvParameters, public ScaleAlongVelocityModifierParams_0p0NS::ParametersStruct -{ -public: - ScaleAlongVelocityModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ScaleAlongVelocityModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ScaleAlongVelocityModifierParams"); - } - - 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(ScaleAlongVelocityModifierParams_0p0NS::checksum); - return ScaleAlongVelocityModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ScaleAlongVelocityModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ScaleAlongVelocityModifierParams_0p0* tmpThis = const_cast<ScaleAlongVelocityModifierParams_0p0*>(this); - return *(static_cast<ScaleAlongVelocityModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ScaleAlongVelocityModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ScaleAlongVelocityModifierParams_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 ScaleAlongVelocityModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ScaleAlongVelocityModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ScaleAlongVelocityModifierParams_0p0), ScaleAlongVelocityModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ScaleAlongVelocityModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleAlongVelocityModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ScaleAlongVelocityModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ScaleAlongVelocityModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ScaleAlongVelocityModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ScaleAlongVelocityModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleAlongVelocityModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ScaleAlongVelocityModifierParams_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 (ScaleAlongVelocityModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ScaleAlongVelocityModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ScaleAlongVelocityModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ScaleAlongVelocityModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ScaleAlongVelocityModifierParams_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/iofx_legacy/include/autogen/ScaleByMassModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ScaleByMassModifierParams_0p0.h deleted file mode 100644 index ef98a5b5..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ScaleByMassModifierParams_0p0.h +++ /dev/null @@ -1,229 +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_ScaleByMassModifierParams_0p0_h -#define HEADER_ScaleByMassModifierParams_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 ScaleByMassModifierParams_0p0NS -{ - - - -struct ParametersStruct -{ - - -}; - -static const uint32_t checksum[] = { 0x0164ba51, 0x109896dc, 0x1c51ccab, 0xc0cebd7a, }; - -} // namespace ScaleByMassModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ScaleByMassModifierParams_0p0 : public NvParameterized::NvParameters, public ScaleByMassModifierParams_0p0NS::ParametersStruct -{ -public: - ScaleByMassModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ScaleByMassModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ScaleByMassModifierParams"); - } - - 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(ScaleByMassModifierParams_0p0NS::checksum); - return ScaleByMassModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ScaleByMassModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ScaleByMassModifierParams_0p0* tmpThis = const_cast<ScaleByMassModifierParams_0p0*>(this); - return *(static_cast<ScaleByMassModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ScaleByMassModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ScaleByMassModifierParams_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 ScaleByMassModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ScaleByMassModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ScaleByMassModifierParams_0p0), ScaleByMassModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ScaleByMassModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleByMassModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ScaleByMassModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ScaleByMassModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ScaleByMassModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ScaleByMassModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleByMassModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ScaleByMassModifierParams_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 (ScaleByMassModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ScaleByMassModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ScaleByMassModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ScaleByMassModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ScaleByMassModifierParams_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/iofx_legacy/include/autogen/ScaleVsCameraDistance2DModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsCameraDistance2DModifierParams_0p0.h deleted file mode 100644 index cdec49f6..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsCameraDistance2DModifierParams_0p0.h +++ /dev/null @@ -1,244 +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_ScaleVsCameraDistance2DModifierParams_0p0_h -#define HEADER_ScaleVsCameraDistance2DModifierParams_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 ScaleVsCameraDistance2DModifierParams_0p0NS -{ - -struct scaleCameraDistanceStruct_Type; - -struct scaleCameraDistanceStruct_DynamicArray1D_Type -{ - scaleCameraDistanceStruct_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct scaleCameraDistanceStruct_Type -{ - float cameraDistance; - physx::PxVec2 scale; -}; - -struct ParametersStruct -{ - - scaleCameraDistanceStruct_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0xa1847ef6, 0x35e96cc6, 0xd3de86e9, 0x977d685a, }; - -} // namespace ScaleVsCameraDistance2DModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ScaleVsCameraDistance2DModifierParams_0p0 : public NvParameterized::NvParameters, public ScaleVsCameraDistance2DModifierParams_0p0NS::ParametersStruct -{ -public: - ScaleVsCameraDistance2DModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ScaleVsCameraDistance2DModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ScaleVsCameraDistance2DModifierParams"); - } - - 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(ScaleVsCameraDistance2DModifierParams_0p0NS::checksum); - return ScaleVsCameraDistance2DModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ScaleVsCameraDistance2DModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ScaleVsCameraDistance2DModifierParams_0p0* tmpThis = const_cast<ScaleVsCameraDistance2DModifierParams_0p0*>(this); - return *(static_cast<ScaleVsCameraDistance2DModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ScaleVsCameraDistance2DModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ScaleVsCameraDistance2DModifierParams_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 ScaleVsCameraDistance2DModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ScaleVsCameraDistance2DModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ScaleVsCameraDistance2DModifierParams_0p0), ScaleVsCameraDistance2DModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ScaleVsCameraDistance2DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsCameraDistance2DModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ScaleVsCameraDistance2DModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ScaleVsCameraDistance2DModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ScaleVsCameraDistance2DModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ScaleVsCameraDistance2DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsCameraDistance2DModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ScaleVsCameraDistance2DModifierParams_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 (ScaleVsCameraDistance2DModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ScaleVsCameraDistance2DModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ScaleVsCameraDistance2DModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ScaleVsCameraDistance2DModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ScaleVsCameraDistance2DModifierParams_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/iofx_legacy/include/autogen/ScaleVsCameraDistance3DModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsCameraDistance3DModifierParams_0p0.h deleted file mode 100644 index 6317bb7c..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsCameraDistance3DModifierParams_0p0.h +++ /dev/null @@ -1,244 +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_ScaleVsCameraDistance3DModifierParams_0p0_h -#define HEADER_ScaleVsCameraDistance3DModifierParams_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 ScaleVsCameraDistance3DModifierParams_0p0NS -{ - -struct scaleCameraDistanceStruct_Type; - -struct scaleCameraDistanceStruct_DynamicArray1D_Type -{ - scaleCameraDistanceStruct_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct scaleCameraDistanceStruct_Type -{ - float cameraDistance; - physx::PxVec3 scale; -}; - -struct ParametersStruct -{ - - scaleCameraDistanceStruct_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0x661390b6, 0x5566a427, 0x6507630a, 0x6aff3b6e, }; - -} // namespace ScaleVsCameraDistance3DModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ScaleVsCameraDistance3DModifierParams_0p0 : public NvParameterized::NvParameters, public ScaleVsCameraDistance3DModifierParams_0p0NS::ParametersStruct -{ -public: - ScaleVsCameraDistance3DModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ScaleVsCameraDistance3DModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ScaleVsCameraDistance3DModifierParams"); - } - - 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(ScaleVsCameraDistance3DModifierParams_0p0NS::checksum); - return ScaleVsCameraDistance3DModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ScaleVsCameraDistance3DModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ScaleVsCameraDistance3DModifierParams_0p0* tmpThis = const_cast<ScaleVsCameraDistance3DModifierParams_0p0*>(this); - return *(static_cast<ScaleVsCameraDistance3DModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ScaleVsCameraDistance3DModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ScaleVsCameraDistance3DModifierParams_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 ScaleVsCameraDistance3DModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ScaleVsCameraDistance3DModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ScaleVsCameraDistance3DModifierParams_0p0), ScaleVsCameraDistance3DModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ScaleVsCameraDistance3DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsCameraDistance3DModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ScaleVsCameraDistance3DModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ScaleVsCameraDistance3DModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ScaleVsCameraDistance3DModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ScaleVsCameraDistance3DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsCameraDistance3DModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ScaleVsCameraDistance3DModifierParams_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 (ScaleVsCameraDistance3DModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ScaleVsCameraDistance3DModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ScaleVsCameraDistance3DModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ScaleVsCameraDistance3DModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ScaleVsCameraDistance3DModifierParams_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/iofx_legacy/include/autogen/ScaleVsCameraDistanceModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsCameraDistanceModifierParams_0p0.h deleted file mode 100644 index 3f4a073f..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsCameraDistanceModifierParams_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_ScaleVsCameraDistanceModifierParams_0p0_h -#define HEADER_ScaleVsCameraDistanceModifierParams_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 ScaleVsCameraDistanceModifierParams_0p0NS -{ - -struct vec2_Type; - -struct vec2_DynamicArray1D_Type -{ - vec2_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct vec2_Type -{ - float x; - float y; -}; - -struct ParametersStruct -{ - - const char* scaleAxis; - vec2_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0x2c4aba3d, 0xa1d08f53, 0xfb08d5f3, 0xe12927dd, }; - -} // namespace ScaleVsCameraDistanceModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ScaleVsCameraDistanceModifierParams_0p0 : public NvParameterized::NvParameters, public ScaleVsCameraDistanceModifierParams_0p0NS::ParametersStruct -{ -public: - ScaleVsCameraDistanceModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ScaleVsCameraDistanceModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ScaleVsCameraDistanceModifierParams"); - } - - 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(ScaleVsCameraDistanceModifierParams_0p0NS::checksum); - return ScaleVsCameraDistanceModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ScaleVsCameraDistanceModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ScaleVsCameraDistanceModifierParams_0p0* tmpThis = const_cast<ScaleVsCameraDistanceModifierParams_0p0*>(this); - return *(static_cast<ScaleVsCameraDistanceModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ScaleVsCameraDistanceModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ScaleVsCameraDistanceModifierParams_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 ScaleVsCameraDistanceModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ScaleVsCameraDistanceModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ScaleVsCameraDistanceModifierParams_0p0), ScaleVsCameraDistanceModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ScaleVsCameraDistanceModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsCameraDistanceModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ScaleVsCameraDistanceModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ScaleVsCameraDistanceModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ScaleVsCameraDistanceModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ScaleVsCameraDistanceModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsCameraDistanceModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ScaleVsCameraDistanceModifierParams_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 (ScaleVsCameraDistanceModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ScaleVsCameraDistanceModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ScaleVsCameraDistanceModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ScaleVsCameraDistanceModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ScaleVsCameraDistanceModifierParams_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/iofx_legacy/include/autogen/ScaleVsDensity2DModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsDensity2DModifierParams_0p0.h deleted file mode 100644 index e0749ab2..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsDensity2DModifierParams_0p0.h +++ /dev/null @@ -1,244 +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_ScaleVsDensity2DModifierParams_0p0_h -#define HEADER_ScaleVsDensity2DModifierParams_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 ScaleVsDensity2DModifierParams_0p0NS -{ - -struct scaleDensityStruct_Type; - -struct scaleDensityStruct_DynamicArray1D_Type -{ - scaleDensityStruct_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct scaleDensityStruct_Type -{ - float density; - physx::PxVec2 scale; -}; - -struct ParametersStruct -{ - - scaleDensityStruct_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0x67c772d8, 0x2f573535, 0xdd3f3715, 0xea4c896d, }; - -} // namespace ScaleVsDensity2DModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ScaleVsDensity2DModifierParams_0p0 : public NvParameterized::NvParameters, public ScaleVsDensity2DModifierParams_0p0NS::ParametersStruct -{ -public: - ScaleVsDensity2DModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ScaleVsDensity2DModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ScaleVsDensity2DModifierParams"); - } - - 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(ScaleVsDensity2DModifierParams_0p0NS::checksum); - return ScaleVsDensity2DModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ScaleVsDensity2DModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ScaleVsDensity2DModifierParams_0p0* tmpThis = const_cast<ScaleVsDensity2DModifierParams_0p0*>(this); - return *(static_cast<ScaleVsDensity2DModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ScaleVsDensity2DModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ScaleVsDensity2DModifierParams_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 ScaleVsDensity2DModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ScaleVsDensity2DModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ScaleVsDensity2DModifierParams_0p0), ScaleVsDensity2DModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ScaleVsDensity2DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsDensity2DModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ScaleVsDensity2DModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ScaleVsDensity2DModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ScaleVsDensity2DModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ScaleVsDensity2DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsDensity2DModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ScaleVsDensity2DModifierParams_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 (ScaleVsDensity2DModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ScaleVsDensity2DModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ScaleVsDensity2DModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ScaleVsDensity2DModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ScaleVsDensity2DModifierParams_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/iofx_legacy/include/autogen/ScaleVsDensity3DModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsDensity3DModifierParams_0p0.h deleted file mode 100644 index 408036b1..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsDensity3DModifierParams_0p0.h +++ /dev/null @@ -1,244 +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_ScaleVsDensity3DModifierParams_0p0_h -#define HEADER_ScaleVsDensity3DModifierParams_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 ScaleVsDensity3DModifierParams_0p0NS -{ - -struct scaleDensityStruct_Type; - -struct scaleDensityStruct_DynamicArray1D_Type -{ - scaleDensityStruct_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct scaleDensityStruct_Type -{ - float density; - physx::PxVec3 scale; -}; - -struct ParametersStruct -{ - - scaleDensityStruct_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0x0dddf0d6, 0x459996e0, 0x32b4d7ce, 0x8e0d1b52, }; - -} // namespace ScaleVsDensity3DModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ScaleVsDensity3DModifierParams_0p0 : public NvParameterized::NvParameters, public ScaleVsDensity3DModifierParams_0p0NS::ParametersStruct -{ -public: - ScaleVsDensity3DModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ScaleVsDensity3DModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ScaleVsDensity3DModifierParams"); - } - - 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(ScaleVsDensity3DModifierParams_0p0NS::checksum); - return ScaleVsDensity3DModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ScaleVsDensity3DModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ScaleVsDensity3DModifierParams_0p0* tmpThis = const_cast<ScaleVsDensity3DModifierParams_0p0*>(this); - return *(static_cast<ScaleVsDensity3DModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ScaleVsDensity3DModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ScaleVsDensity3DModifierParams_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 ScaleVsDensity3DModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ScaleVsDensity3DModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ScaleVsDensity3DModifierParams_0p0), ScaleVsDensity3DModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ScaleVsDensity3DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsDensity3DModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ScaleVsDensity3DModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ScaleVsDensity3DModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ScaleVsDensity3DModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ScaleVsDensity3DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsDensity3DModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ScaleVsDensity3DModifierParams_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 (ScaleVsDensity3DModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ScaleVsDensity3DModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ScaleVsDensity3DModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ScaleVsDensity3DModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ScaleVsDensity3DModifierParams_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/iofx_legacy/include/autogen/ScaleVsDensityModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsDensityModifierParams_0p0.h deleted file mode 100644 index 51793573..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsDensityModifierParams_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_ScaleVsDensityModifierParams_0p0_h -#define HEADER_ScaleVsDensityModifierParams_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 ScaleVsDensityModifierParams_0p0NS -{ - -struct vec2_Type; - -struct vec2_DynamicArray1D_Type -{ - vec2_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct vec2_Type -{ - float x; - float y; -}; - -struct ParametersStruct -{ - - const char* scaleAxis; - vec2_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0x6f22ca8e, 0x609b223e, 0x81d9cacc, 0x9ca002f4, }; - -} // namespace ScaleVsDensityModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ScaleVsDensityModifierParams_0p0 : public NvParameterized::NvParameters, public ScaleVsDensityModifierParams_0p0NS::ParametersStruct -{ -public: - ScaleVsDensityModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ScaleVsDensityModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ScaleVsDensityModifierParams"); - } - - 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(ScaleVsDensityModifierParams_0p0NS::checksum); - return ScaleVsDensityModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ScaleVsDensityModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ScaleVsDensityModifierParams_0p0* tmpThis = const_cast<ScaleVsDensityModifierParams_0p0*>(this); - return *(static_cast<ScaleVsDensityModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ScaleVsDensityModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ScaleVsDensityModifierParams_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 ScaleVsDensityModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ScaleVsDensityModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ScaleVsDensityModifierParams_0p0), ScaleVsDensityModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ScaleVsDensityModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsDensityModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ScaleVsDensityModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ScaleVsDensityModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ScaleVsDensityModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ScaleVsDensityModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsDensityModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ScaleVsDensityModifierParams_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 (ScaleVsDensityModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ScaleVsDensityModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ScaleVsDensityModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ScaleVsDensityModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ScaleVsDensityModifierParams_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/iofx_legacy/include/autogen/ScaleVsLife2DModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsLife2DModifierParams_0p0.h deleted file mode 100644 index aa412f04..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsLife2DModifierParams_0p0.h +++ /dev/null @@ -1,244 +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_ScaleVsLife2DModifierParams_0p0_h -#define HEADER_ScaleVsLife2DModifierParams_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 ScaleVsLife2DModifierParams_0p0NS -{ - -struct scaleLifeStruct_Type; - -struct scaleLifeStruct_DynamicArray1D_Type -{ - scaleLifeStruct_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct scaleLifeStruct_Type -{ - float lifeRemaining; - physx::PxVec2 scale; -}; - -struct ParametersStruct -{ - - scaleLifeStruct_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0x6db3956a, 0xa58c530d, 0xff315c26, 0xddb49833, }; - -} // namespace ScaleVsLife2DModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ScaleVsLife2DModifierParams_0p0 : public NvParameterized::NvParameters, public ScaleVsLife2DModifierParams_0p0NS::ParametersStruct -{ -public: - ScaleVsLife2DModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ScaleVsLife2DModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ScaleVsLife2DModifierParams"); - } - - 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(ScaleVsLife2DModifierParams_0p0NS::checksum); - return ScaleVsLife2DModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ScaleVsLife2DModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ScaleVsLife2DModifierParams_0p0* tmpThis = const_cast<ScaleVsLife2DModifierParams_0p0*>(this); - return *(static_cast<ScaleVsLife2DModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ScaleVsLife2DModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ScaleVsLife2DModifierParams_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 ScaleVsLife2DModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ScaleVsLife2DModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ScaleVsLife2DModifierParams_0p0), ScaleVsLife2DModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ScaleVsLife2DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsLife2DModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ScaleVsLife2DModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ScaleVsLife2DModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ScaleVsLife2DModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ScaleVsLife2DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsLife2DModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ScaleVsLife2DModifierParams_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 (ScaleVsLife2DModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ScaleVsLife2DModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ScaleVsLife2DModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ScaleVsLife2DModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ScaleVsLife2DModifierParams_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/iofx_legacy/include/autogen/ScaleVsLife3DModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsLife3DModifierParams_0p0.h deleted file mode 100644 index 02fc6b6b..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsLife3DModifierParams_0p0.h +++ /dev/null @@ -1,244 +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_ScaleVsLife3DModifierParams_0p0_h -#define HEADER_ScaleVsLife3DModifierParams_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 ScaleVsLife3DModifierParams_0p0NS -{ - -struct scaleLifeStruct_Type; - -struct scaleLifeStruct_DynamicArray1D_Type -{ - scaleLifeStruct_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct scaleLifeStruct_Type -{ - float lifeRemaining; - physx::PxVec3 scale; -}; - -struct ParametersStruct -{ - - scaleLifeStruct_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0xbaddcfda, 0x2f4deda9, 0x2c23286e, 0xf19659fd, }; - -} // namespace ScaleVsLife3DModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ScaleVsLife3DModifierParams_0p0 : public NvParameterized::NvParameters, public ScaleVsLife3DModifierParams_0p0NS::ParametersStruct -{ -public: - ScaleVsLife3DModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ScaleVsLife3DModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ScaleVsLife3DModifierParams"); - } - - 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(ScaleVsLife3DModifierParams_0p0NS::checksum); - return ScaleVsLife3DModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ScaleVsLife3DModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ScaleVsLife3DModifierParams_0p0* tmpThis = const_cast<ScaleVsLife3DModifierParams_0p0*>(this); - return *(static_cast<ScaleVsLife3DModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ScaleVsLife3DModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ScaleVsLife3DModifierParams_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 ScaleVsLife3DModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ScaleVsLife3DModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ScaleVsLife3DModifierParams_0p0), ScaleVsLife3DModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ScaleVsLife3DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsLife3DModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ScaleVsLife3DModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ScaleVsLife3DModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ScaleVsLife3DModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ScaleVsLife3DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsLife3DModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ScaleVsLife3DModifierParams_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 (ScaleVsLife3DModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ScaleVsLife3DModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ScaleVsLife3DModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ScaleVsLife3DModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ScaleVsLife3DModifierParams_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/iofx_legacy/include/autogen/ScaleVsLifeModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsLifeModifierParams_0p0.h deleted file mode 100644 index f3f93baa..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsLifeModifierParams_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_ScaleVsLifeModifierParams_0p0_h -#define HEADER_ScaleVsLifeModifierParams_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 ScaleVsLifeModifierParams_0p0NS -{ - -struct vec2_Type; - -struct vec2_DynamicArray1D_Type -{ - vec2_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct vec2_Type -{ - float x; - float y; -}; - -struct ParametersStruct -{ - - const char* scaleAxis; - vec2_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0xfed4c822, 0x131f7e2d, 0x1bedc356, 0xcbf77236, }; - -} // namespace ScaleVsLifeModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ScaleVsLifeModifierParams_0p0 : public NvParameterized::NvParameters, public ScaleVsLifeModifierParams_0p0NS::ParametersStruct -{ -public: - ScaleVsLifeModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ScaleVsLifeModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ScaleVsLifeModifierParams"); - } - - 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(ScaleVsLifeModifierParams_0p0NS::checksum); - return ScaleVsLifeModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ScaleVsLifeModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ScaleVsLifeModifierParams_0p0* tmpThis = const_cast<ScaleVsLifeModifierParams_0p0*>(this); - return *(static_cast<ScaleVsLifeModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ScaleVsLifeModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ScaleVsLifeModifierParams_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 ScaleVsLifeModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ScaleVsLifeModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ScaleVsLifeModifierParams_0p0), ScaleVsLifeModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ScaleVsLifeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsLifeModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ScaleVsLifeModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ScaleVsLifeModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ScaleVsLifeModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ScaleVsLifeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsLifeModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ScaleVsLifeModifierParams_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 (ScaleVsLifeModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ScaleVsLifeModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ScaleVsLifeModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ScaleVsLifeModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ScaleVsLifeModifierParams_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/iofx_legacy/include/autogen/ScaleVsTemperature2DModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsTemperature2DModifierParams_0p0.h deleted file mode 100644 index 28b62ce7..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsTemperature2DModifierParams_0p0.h +++ /dev/null @@ -1,244 +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_ScaleVsTemperature2DModifierParams_0p0_h -#define HEADER_ScaleVsTemperature2DModifierParams_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 ScaleVsTemperature2DModifierParams_0p0NS -{ - -struct scaleTemperatureStruct_Type; - -struct scaleTemperatureStruct_DynamicArray1D_Type -{ - scaleTemperatureStruct_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct scaleTemperatureStruct_Type -{ - float temperature; - physx::PxVec2 scale; -}; - -struct ParametersStruct -{ - - scaleTemperatureStruct_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0xd5330296, 0xc6fa1947, 0x152d1b30, 0x07453e5c, }; - -} // namespace ScaleVsTemperature2DModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ScaleVsTemperature2DModifierParams_0p0 : public NvParameterized::NvParameters, public ScaleVsTemperature2DModifierParams_0p0NS::ParametersStruct -{ -public: - ScaleVsTemperature2DModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ScaleVsTemperature2DModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ScaleVsTemperature2DModifierParams"); - } - - 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(ScaleVsTemperature2DModifierParams_0p0NS::checksum); - return ScaleVsTemperature2DModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ScaleVsTemperature2DModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ScaleVsTemperature2DModifierParams_0p0* tmpThis = const_cast<ScaleVsTemperature2DModifierParams_0p0*>(this); - return *(static_cast<ScaleVsTemperature2DModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ScaleVsTemperature2DModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ScaleVsTemperature2DModifierParams_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 ScaleVsTemperature2DModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ScaleVsTemperature2DModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ScaleVsTemperature2DModifierParams_0p0), ScaleVsTemperature2DModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ScaleVsTemperature2DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsTemperature2DModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ScaleVsTemperature2DModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ScaleVsTemperature2DModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ScaleVsTemperature2DModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ScaleVsTemperature2DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsTemperature2DModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ScaleVsTemperature2DModifierParams_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 (ScaleVsTemperature2DModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ScaleVsTemperature2DModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ScaleVsTemperature2DModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ScaleVsTemperature2DModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ScaleVsTemperature2DModifierParams_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/iofx_legacy/include/autogen/ScaleVsTemperature3DModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsTemperature3DModifierParams_0p0.h deleted file mode 100644 index ff575570..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsTemperature3DModifierParams_0p0.h +++ /dev/null @@ -1,244 +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_ScaleVsTemperature3DModifierParams_0p0_h -#define HEADER_ScaleVsTemperature3DModifierParams_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 ScaleVsTemperature3DModifierParams_0p0NS -{ - -struct scaleTemperatureStruct_Type; - -struct scaleTemperatureStruct_DynamicArray1D_Type -{ - scaleTemperatureStruct_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct scaleTemperatureStruct_Type -{ - float temperature; - physx::PxVec3 scale; -}; - -struct ParametersStruct -{ - - scaleTemperatureStruct_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0x25b25469, 0xa653dacc, 0x1c3167df, 0xd3a6b16f, }; - -} // namespace ScaleVsTemperature3DModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ScaleVsTemperature3DModifierParams_0p0 : public NvParameterized::NvParameters, public ScaleVsTemperature3DModifierParams_0p0NS::ParametersStruct -{ -public: - ScaleVsTemperature3DModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ScaleVsTemperature3DModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ScaleVsTemperature3DModifierParams"); - } - - 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(ScaleVsTemperature3DModifierParams_0p0NS::checksum); - return ScaleVsTemperature3DModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ScaleVsTemperature3DModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ScaleVsTemperature3DModifierParams_0p0* tmpThis = const_cast<ScaleVsTemperature3DModifierParams_0p0*>(this); - return *(static_cast<ScaleVsTemperature3DModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ScaleVsTemperature3DModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ScaleVsTemperature3DModifierParams_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 ScaleVsTemperature3DModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ScaleVsTemperature3DModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ScaleVsTemperature3DModifierParams_0p0), ScaleVsTemperature3DModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ScaleVsTemperature3DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsTemperature3DModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ScaleVsTemperature3DModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ScaleVsTemperature3DModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ScaleVsTemperature3DModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ScaleVsTemperature3DModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsTemperature3DModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ScaleVsTemperature3DModifierParams_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 (ScaleVsTemperature3DModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ScaleVsTemperature3DModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ScaleVsTemperature3DModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ScaleVsTemperature3DModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ScaleVsTemperature3DModifierParams_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/iofx_legacy/include/autogen/ScaleVsTemperatureModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsTemperatureModifierParams_0p0.h deleted file mode 100644 index 5aee61eb..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ScaleVsTemperatureModifierParams_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_ScaleVsTemperatureModifierParams_0p0_h -#define HEADER_ScaleVsTemperatureModifierParams_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 ScaleVsTemperatureModifierParams_0p0NS -{ - -struct vec2_Type; - -struct vec2_DynamicArray1D_Type -{ - vec2_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct vec2_Type -{ - float x; - float y; -}; - -struct ParametersStruct -{ - - const char* scaleAxis; - vec2_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0xd0fc7da0, 0x19500653, 0x8b0cfc22, 0xa80392bd, }; - -} // namespace ScaleVsTemperatureModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ScaleVsTemperatureModifierParams_0p0 : public NvParameterized::NvParameters, public ScaleVsTemperatureModifierParams_0p0NS::ParametersStruct -{ -public: - ScaleVsTemperatureModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ScaleVsTemperatureModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ScaleVsTemperatureModifierParams"); - } - - 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(ScaleVsTemperatureModifierParams_0p0NS::checksum); - return ScaleVsTemperatureModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ScaleVsTemperatureModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ScaleVsTemperatureModifierParams_0p0* tmpThis = const_cast<ScaleVsTemperatureModifierParams_0p0*>(this); - return *(static_cast<ScaleVsTemperatureModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ScaleVsTemperatureModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ScaleVsTemperatureModifierParams_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 ScaleVsTemperatureModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ScaleVsTemperatureModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ScaleVsTemperatureModifierParams_0p0), ScaleVsTemperatureModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ScaleVsTemperatureModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsTemperatureModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ScaleVsTemperatureModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ScaleVsTemperatureModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ScaleVsTemperatureModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ScaleVsTemperatureModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ScaleVsTemperatureModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ScaleVsTemperatureModifierParams_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 (ScaleVsTemperatureModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ScaleVsTemperatureModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ScaleVsTemperatureModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ScaleVsTemperatureModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ScaleVsTemperatureModifierParams_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/iofx_legacy/include/autogen/SimpleScaleModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/SimpleScaleModifierParams_0p0.h deleted file mode 100644 index 1ba26cf6..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/SimpleScaleModifierParams_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_SimpleScaleModifierParams_0p0_h -#define HEADER_SimpleScaleModifierParams_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 SimpleScaleModifierParams_0p0NS -{ - - - -struct ParametersStruct -{ - - physx::PxVec3 scaleFactor; - -}; - -static const uint32_t checksum[] = { 0x7a1ac6ca, 0x76ef1cd2, 0x991bfe05, 0x30c11a09, }; - -} // namespace SimpleScaleModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class SimpleScaleModifierParams_0p0 : public NvParameterized::NvParameters, public SimpleScaleModifierParams_0p0NS::ParametersStruct -{ -public: - SimpleScaleModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~SimpleScaleModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("SimpleScaleModifierParams"); - } - - 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(SimpleScaleModifierParams_0p0NS::checksum); - return SimpleScaleModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const SimpleScaleModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - SimpleScaleModifierParams_0p0* tmpThis = const_cast<SimpleScaleModifierParams_0p0*>(this); - return *(static_cast<SimpleScaleModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - SimpleScaleModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<SimpleScaleModifierParams_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 SimpleScaleModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - SimpleScaleModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(SimpleScaleModifierParams_0p0), SimpleScaleModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, SimpleScaleModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class SimpleScaleModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(SimpleScaleModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, SimpleScaleModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, SimpleScaleModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, SimpleScaleModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class SimpleScaleModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of SimpleScaleModifierParams_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 (SimpleScaleModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (SimpleScaleModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (SimpleScaleModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (SimpleScaleModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (SimpleScaleModifierParams_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/iofx_legacy/include/autogen/SpriteIofxParameters_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/SpriteIofxParameters_0p0.h deleted file mode 100644 index b065027b..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/SpriteIofxParameters_0p0.h +++ /dev/null @@ -1,240 +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_SpriteIofxParameters_0p0_h -#define HEADER_SpriteIofxParameters_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 SpriteIofxParameters_0p0NS -{ - - -struct REF_DynamicArray1D_Type -{ - NvParameterized::Interface** buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - - -struct ParametersStruct -{ - - NvParameterized::Interface* spriteMaterialName; - REF_DynamicArray1D_Type spawnModifierList; - REF_DynamicArray1D_Type continuousModifierList; - -}; - -static const uint32_t checksum[] = { 0xed7d359d, 0xba5eb1e1, 0x9ac6c5dd, 0xb1f7ef05, }; - -} // namespace SpriteIofxParameters_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class SpriteIofxParameters_0p0 : public NvParameterized::NvParameters, public SpriteIofxParameters_0p0NS::ParametersStruct -{ -public: - SpriteIofxParameters_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~SpriteIofxParameters_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("SpriteIofxParameters"); - } - - 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(SpriteIofxParameters_0p0NS::checksum); - return SpriteIofxParameters_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const SpriteIofxParameters_0p0NS::ParametersStruct& parameters(void) const - { - SpriteIofxParameters_0p0* tmpThis = const_cast<SpriteIofxParameters_0p0*>(this); - return *(static_cast<SpriteIofxParameters_0p0NS::ParametersStruct*>(tmpThis)); - } - - SpriteIofxParameters_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<SpriteIofxParameters_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 SpriteIofxParameters_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - SpriteIofxParameters_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(SpriteIofxParameters_0p0), SpriteIofxParameters_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, SpriteIofxParameters_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class SpriteIofxParameters_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(SpriteIofxParameters_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, SpriteIofxParameters_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, SpriteIofxParameters_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, SpriteIofxParameters_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class SpriteIofxParameters_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of SpriteIofxParameters_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 (SpriteIofxParameters_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (SpriteIofxParameters_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (SpriteIofxParameters_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (SpriteIofxParameters_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (SpriteIofxParameters_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/iofx_legacy/include/autogen/SpriteIofxParameters_0p1.h b/APEX_1.4/module/iofx_legacy/include/autogen/SpriteIofxParameters_0p1.h deleted file mode 100644 index 315696ff..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/SpriteIofxParameters_0p1.h +++ /dev/null @@ -1,240 +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_SpriteIofxParameters_0p1_h -#define HEADER_SpriteIofxParameters_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 SpriteIofxParameters_0p1NS -{ - - -struct REF_DynamicArray1D_Type -{ - NvParameterized::Interface** buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - - -struct ParametersStruct -{ - - NvParameterized::Interface* spriteMaterialName; - REF_DynamicArray1D_Type spawnModifierList; - REF_DynamicArray1D_Type continuousModifierList; - -}; - -static const uint32_t checksum[] = { 0xafdd3ba3, 0x21232d96, 0xc0d0f73b, 0x0b558710, }; - -} // namespace SpriteIofxParameters_0p1NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class SpriteIofxParameters_0p1 : public NvParameterized::NvParameters, public SpriteIofxParameters_0p1NS::ParametersStruct -{ -public: - SpriteIofxParameters_0p1(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~SpriteIofxParameters_0p1(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("SpriteIofxParameters"); - } - - 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(SpriteIofxParameters_0p1NS::checksum); - return SpriteIofxParameters_0p1NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const SpriteIofxParameters_0p1NS::ParametersStruct& parameters(void) const - { - SpriteIofxParameters_0p1* tmpThis = const_cast<SpriteIofxParameters_0p1*>(this); - return *(static_cast<SpriteIofxParameters_0p1NS::ParametersStruct*>(tmpThis)); - } - - SpriteIofxParameters_0p1NS::ParametersStruct& parameters(void) - { - return *(static_cast<SpriteIofxParameters_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 SpriteIofxParameters_0p1Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - SpriteIofxParameters_0p1::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(SpriteIofxParameters_0p1), SpriteIofxParameters_0p1::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, SpriteIofxParameters_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class SpriteIofxParameters_0p1"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(SpriteIofxParameters_0p1)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, SpriteIofxParameters_0p1)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, SpriteIofxParameters_0p1::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, SpriteIofxParameters_0p1::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class SpriteIofxParameters_0p1"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of SpriteIofxParameters_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 (SpriteIofxParameters_0p1*)bufObj; - } - - virtual const char* getClassName() - { - return (SpriteIofxParameters_0p1::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (SpriteIofxParameters_0p1::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (SpriteIofxParameters_0p1::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (SpriteIofxParameters_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/iofx_legacy/include/autogen/SpriteIofxParameters_0p2.h b/APEX_1.4/module/iofx_legacy/include/autogen/SpriteIofxParameters_0p2.h deleted file mode 100644 index e525483e..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/SpriteIofxParameters_0p2.h +++ /dev/null @@ -1,240 +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_SpriteIofxParameters_0p2_h -#define HEADER_SpriteIofxParameters_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 SpriteIofxParameters_0p2NS -{ - - -struct REF_DynamicArray1D_Type -{ - NvParameterized::Interface** buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - - -struct ParametersStruct -{ - - NvParameterized::Interface* spriteMaterialName; - REF_DynamicArray1D_Type spawnModifierList; - REF_DynamicArray1D_Type continuousModifierList; - -}; - -static const uint32_t checksum[] = { 0xb3736234, 0x649595fb, 0x00c6acc3, 0xd78904f6, }; - -} // namespace SpriteIofxParameters_0p2NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class SpriteIofxParameters_0p2 : public NvParameterized::NvParameters, public SpriteIofxParameters_0p2NS::ParametersStruct -{ -public: - SpriteIofxParameters_0p2(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~SpriteIofxParameters_0p2(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("SpriteIofxParameters"); - } - - 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(SpriteIofxParameters_0p2NS::checksum); - return SpriteIofxParameters_0p2NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const SpriteIofxParameters_0p2NS::ParametersStruct& parameters(void) const - { - SpriteIofxParameters_0p2* tmpThis = const_cast<SpriteIofxParameters_0p2*>(this); - return *(static_cast<SpriteIofxParameters_0p2NS::ParametersStruct*>(tmpThis)); - } - - SpriteIofxParameters_0p2NS::ParametersStruct& parameters(void) - { - return *(static_cast<SpriteIofxParameters_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 SpriteIofxParameters_0p2Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - SpriteIofxParameters_0p2::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(SpriteIofxParameters_0p2), SpriteIofxParameters_0p2::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, SpriteIofxParameters_0p2::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class SpriteIofxParameters_0p2"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(SpriteIofxParameters_0p2)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, SpriteIofxParameters_0p2)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, SpriteIofxParameters_0p2::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, SpriteIofxParameters_0p2::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class SpriteIofxParameters_0p2"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of SpriteIofxParameters_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 (SpriteIofxParameters_0p2*)bufObj; - } - - virtual const char* getClassName() - { - return (SpriteIofxParameters_0p2::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (SpriteIofxParameters_0p2::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (SpriteIofxParameters_0p2::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (SpriteIofxParameters_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/iofx_legacy/include/autogen/SpriteIofxParameters_0p3.h b/APEX_1.4/module/iofx_legacy/include/autogen/SpriteIofxParameters_0p3.h deleted file mode 100644 index 1f90773b..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/SpriteIofxParameters_0p3.h +++ /dev/null @@ -1,240 +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_SpriteIofxParameters_0p3_h -#define HEADER_SpriteIofxParameters_0p3_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 SpriteIofxParameters_0p3NS -{ - - -struct REF_DynamicArray1D_Type -{ - NvParameterized::Interface** buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - - -struct ParametersStruct -{ - - NvParameterized::Interface* spriteMaterialName; - REF_DynamicArray1D_Type spawnModifierList; - REF_DynamicArray1D_Type continuousModifierList; - -}; - -static const uint32_t checksum[] = { 0x39c3504e, 0xd2ee01e7, 0xc1ff81b5, 0x6ae67fb8, }; - -} // namespace SpriteIofxParameters_0p3NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class SpriteIofxParameters_0p3 : public NvParameterized::NvParameters, public SpriteIofxParameters_0p3NS::ParametersStruct -{ -public: - SpriteIofxParameters_0p3(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~SpriteIofxParameters_0p3(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("SpriteIofxParameters"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)3; - - 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(SpriteIofxParameters_0p3NS::checksum); - return SpriteIofxParameters_0p3NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const SpriteIofxParameters_0p3NS::ParametersStruct& parameters(void) const - { - SpriteIofxParameters_0p3* tmpThis = const_cast<SpriteIofxParameters_0p3*>(this); - return *(static_cast<SpriteIofxParameters_0p3NS::ParametersStruct*>(tmpThis)); - } - - SpriteIofxParameters_0p3NS::ParametersStruct& parameters(void) - { - return *(static_cast<SpriteIofxParameters_0p3NS::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 SpriteIofxParameters_0p3Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - SpriteIofxParameters_0p3::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(SpriteIofxParameters_0p3), SpriteIofxParameters_0p3::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, SpriteIofxParameters_0p3::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class SpriteIofxParameters_0p3"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(SpriteIofxParameters_0p3)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, SpriteIofxParameters_0p3)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, SpriteIofxParameters_0p3::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, SpriteIofxParameters_0p3::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class SpriteIofxParameters_0p3"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of SpriteIofxParameters_0p3 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 (SpriteIofxParameters_0p3*)bufObj; - } - - virtual const char* getClassName() - { - return (SpriteIofxParameters_0p3::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (SpriteIofxParameters_0p3::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (SpriteIofxParameters_0p3::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (SpriteIofxParameters_0p3::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/iofx_legacy/include/autogen/SpriteIofxParameters_0p4.h b/APEX_1.4/module/iofx_legacy/include/autogen/SpriteIofxParameters_0p4.h deleted file mode 100644 index 1d391493..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/SpriteIofxParameters_0p4.h +++ /dev/null @@ -1,240 +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_SpriteIofxParameters_0p4_h -#define HEADER_SpriteIofxParameters_0p4_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 SpriteIofxParameters_0p4NS -{ - - -struct REF_DynamicArray1D_Type -{ - NvParameterized::Interface** buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - - -struct ParametersStruct -{ - - NvParameterized::Interface* spriteMaterialName; - REF_DynamicArray1D_Type spawnModifierList; - REF_DynamicArray1D_Type continuousModifierList; - -}; - -static const uint32_t checksum[] = { 0x9763d523, 0x7dae1ae1, 0x3bb7aa9d, 0x67a8d368, }; - -} // namespace SpriteIofxParameters_0p4NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class SpriteIofxParameters_0p4 : public NvParameterized::NvParameters, public SpriteIofxParameters_0p4NS::ParametersStruct -{ -public: - SpriteIofxParameters_0p4(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~SpriteIofxParameters_0p4(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("SpriteIofxParameters"); - } - - const char* className(void) const - { - return(staticClassName()); - } - - static const uint32_t ClassVersion = ((uint32_t)0 << 16) + (uint32_t)4; - - 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(SpriteIofxParameters_0p4NS::checksum); - return SpriteIofxParameters_0p4NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const SpriteIofxParameters_0p4NS::ParametersStruct& parameters(void) const - { - SpriteIofxParameters_0p4* tmpThis = const_cast<SpriteIofxParameters_0p4*>(this); - return *(static_cast<SpriteIofxParameters_0p4NS::ParametersStruct*>(tmpThis)); - } - - SpriteIofxParameters_0p4NS::ParametersStruct& parameters(void) - { - return *(static_cast<SpriteIofxParameters_0p4NS::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 SpriteIofxParameters_0p4Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - SpriteIofxParameters_0p4::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(SpriteIofxParameters_0p4), SpriteIofxParameters_0p4::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, SpriteIofxParameters_0p4::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class SpriteIofxParameters_0p4"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(SpriteIofxParameters_0p4)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, SpriteIofxParameters_0p4)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, SpriteIofxParameters_0p4::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, SpriteIofxParameters_0p4::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class SpriteIofxParameters_0p4"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of SpriteIofxParameters_0p4 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 (SpriteIofxParameters_0p4*)bufObj; - } - - virtual const char* getClassName() - { - return (SpriteIofxParameters_0p4::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (SpriteIofxParameters_0p4::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (SpriteIofxParameters_0p4::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (SpriteIofxParameters_0p4::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/iofx_legacy/include/autogen/SubtextureVsLifeModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/SubtextureVsLifeModifierParams_0p0.h deleted file mode 100644 index d1395b4c..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/SubtextureVsLifeModifierParams_0p0.h +++ /dev/null @@ -1,244 +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_SubtextureVsLifeModifierParams_0p0_h -#define HEADER_SubtextureVsLifeModifierParams_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 SubtextureVsLifeModifierParams_0p0NS -{ - -struct vec2_Type; - -struct vec2_DynamicArray1D_Type -{ - vec2_Type* buf; - bool isAllocated; - int32_t elementSize; - int32_t arraySizes[1]; -}; - -struct vec2_Type -{ - float x; - float y; -}; - -struct ParametersStruct -{ - - vec2_DynamicArray1D_Type controlPoints; - -}; - -static const uint32_t checksum[] = { 0x38be217d, 0xe6774f18, 0x591a0a04, 0x64e61b1e, }; - -} // namespace SubtextureVsLifeModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class SubtextureVsLifeModifierParams_0p0 : public NvParameterized::NvParameters, public SubtextureVsLifeModifierParams_0p0NS::ParametersStruct -{ -public: - SubtextureVsLifeModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~SubtextureVsLifeModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("SubtextureVsLifeModifierParams"); - } - - 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(SubtextureVsLifeModifierParams_0p0NS::checksum); - return SubtextureVsLifeModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const SubtextureVsLifeModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - SubtextureVsLifeModifierParams_0p0* tmpThis = const_cast<SubtextureVsLifeModifierParams_0p0*>(this); - return *(static_cast<SubtextureVsLifeModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - SubtextureVsLifeModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<SubtextureVsLifeModifierParams_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 SubtextureVsLifeModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - SubtextureVsLifeModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(SubtextureVsLifeModifierParams_0p0), SubtextureVsLifeModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, SubtextureVsLifeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class SubtextureVsLifeModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(SubtextureVsLifeModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, SubtextureVsLifeModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, SubtextureVsLifeModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, SubtextureVsLifeModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class SubtextureVsLifeModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of SubtextureVsLifeModifierParams_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 (SubtextureVsLifeModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (SubtextureVsLifeModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (SubtextureVsLifeModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (SubtextureVsLifeModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (SubtextureVsLifeModifierParams_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/iofx_legacy/include/autogen/ViewDirectionSortingModifierParams_0p0.h b/APEX_1.4/module/iofx_legacy/include/autogen/ViewDirectionSortingModifierParams_0p0.h deleted file mode 100644 index a35d3ae5..00000000 --- a/APEX_1.4/module/iofx_legacy/include/autogen/ViewDirectionSortingModifierParams_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_ViewDirectionSortingModifierParams_0p0_h -#define HEADER_ViewDirectionSortingModifierParams_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 ViewDirectionSortingModifierParams_0p0NS -{ - - - -struct ParametersStruct -{ - - const char* sortType; - -}; - -static const uint32_t checksum[] = { 0x273be54c, 0xc9bfbfeb, 0x0523921d, 0x48c3bc2d, }; - -} // namespace ViewDirectionSortingModifierParams_0p0NS - -#ifndef NV_PARAMETERIZED_ONLY_LAYOUTS -class ViewDirectionSortingModifierParams_0p0 : public NvParameterized::NvParameters, public ViewDirectionSortingModifierParams_0p0NS::ParametersStruct -{ -public: - ViewDirectionSortingModifierParams_0p0(NvParameterized::Traits* traits, void* buf = 0, int32_t* refCount = 0); - - virtual ~ViewDirectionSortingModifierParams_0p0(); - - virtual void destroy(); - - static const char* staticClassName(void) - { - return("ViewDirectionSortingModifierParams"); - } - - 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(ViewDirectionSortingModifierParams_0p0NS::checksum); - return ViewDirectionSortingModifierParams_0p0NS::checksum; - } - - static void freeParameterDefinitionTable(NvParameterized::Traits* traits); - - const uint32_t* checksum(uint32_t& bits) const - { - return staticChecksum(bits); - } - - const ViewDirectionSortingModifierParams_0p0NS::ParametersStruct& parameters(void) const - { - ViewDirectionSortingModifierParams_0p0* tmpThis = const_cast<ViewDirectionSortingModifierParams_0p0*>(this); - return *(static_cast<ViewDirectionSortingModifierParams_0p0NS::ParametersStruct*>(tmpThis)); - } - - ViewDirectionSortingModifierParams_0p0NS::ParametersStruct& parameters(void) - { - return *(static_cast<ViewDirectionSortingModifierParams_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 ViewDirectionSortingModifierParams_0p0Factory : public NvParameterized::Factory -{ - static const char* const vptr; - -public: - - virtual void freeParameterDefinitionTable(NvParameterized::Traits* traits) - { - ViewDirectionSortingModifierParams_0p0::freeParameterDefinitionTable(traits); - } - - virtual NvParameterized::Interface* create(NvParameterized::Traits* paramTraits) - { - // placement new on this class using mParameterizedTraits - - void* newPtr = paramTraits->alloc(sizeof(ViewDirectionSortingModifierParams_0p0), ViewDirectionSortingModifierParams_0p0::ClassAlignment); - if (!NvParameterized::IsAligned(newPtr, ViewDirectionSortingModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ViewDirectionSortingModifierParams_0p0"); - paramTraits->free(newPtr); - return 0; - } - - memset(newPtr, 0, sizeof(ViewDirectionSortingModifierParams_0p0)); // always initialize memory allocated to zero for default values - return NV_PARAM_PLACEMENT_NEW(newPtr, ViewDirectionSortingModifierParams_0p0)(paramTraits); - } - - virtual NvParameterized::Interface* finish(NvParameterized::Traits* paramTraits, void* bufObj, void* bufStart, int32_t* refCount) - { - if (!NvParameterized::IsAligned(bufObj, ViewDirectionSortingModifierParams_0p0::ClassAlignment) - || !NvParameterized::IsAligned(bufStart, ViewDirectionSortingModifierParams_0p0::ClassAlignment)) - { - NV_PARAM_TRAITS_WARNING(paramTraits, "Unaligned memory allocation for class ViewDirectionSortingModifierParams_0p0"); - return 0; - } - - // Init NvParameters-part - // We used to call empty constructor of ViewDirectionSortingModifierParams_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 (ViewDirectionSortingModifierParams_0p0*)bufObj; - } - - virtual const char* getClassName() - { - return (ViewDirectionSortingModifierParams_0p0::staticClassName()); - } - - virtual uint32_t getVersion() - { - return (ViewDirectionSortingModifierParams_0p0::staticVersion()); - } - - virtual uint32_t getAlignment() - { - return (ViewDirectionSortingModifierParams_0p0::ClassAlignment); - } - - virtual const uint32_t* getChecksum(uint32_t& bits) - { - return (ViewDirectionSortingModifierParams_0p0::staticChecksum(bits)); - } -}; -#endif // NV_PARAMETERIZED_ONLY_LAYOUTS - -} // namespace parameterized -} // namespace nvidia - -#if PX_VC -#pragma warning(pop) -#endif - -#endif |