APEX Framework: IofxAsset.h Source File

NVIDIA APEX

IofxAsset.h
00001 /*
00002  * Copyright (c) 2008-2017, NVIDIA CORPORATION.  All rights reserved.
00003  *
00004  * NVIDIA CORPORATION and its licensors retain all intellectual property
00005  * and proprietary rights in and to this software, related documentation
00006  * and any modifications thereto.  Any use, reproduction, disclosure or
00007  * distribution of this software and related documentation without an express
00008  * license agreement from NVIDIA CORPORATION is strictly prohibited.
00009  */
00010 
00011 
00012 #ifndef IOFX_ASSET_H
00013 #define IOFX_ASSET_H
00014 
00015 #include "Apex.h"
00016 #include "ModifierDefs.h"
00017 
00018 namespace nvidia
00019 {
00020 namespace apex
00021 {
00022 
00023 PX_PUSH_PACK_DEFAULT
00024 
00025 #define IOFX_AUTHORING_TYPE_NAME "IOFX"
00026 
00027 class Modifier;
00028 class ApexActor;
00029 
00034 class IofxAsset : public Asset, public Context
00035 {
00036 public:
00038     virtual const char*                     getSpriteMaterialName() const = 0;
00039 
00041     virtual uint32_t                        getMeshAssetCount() const = 0;
00042     
00045     virtual const char*                     getMeshAssetName(uint32_t index = 0) const = 0;
00046     
00049     virtual uint32_t                        getMeshAssetWeight(uint32_t index = 0) const = 0;
00050 
00052     virtual const Modifier*                 getSpawnModifiers(uint32_t& outCount) const = 0;
00053     
00055     virtual const Modifier*                 getContinuousModifiers(uint32_t& outCount) const = 0;
00056 
00060     virtual float                           getScaleUpperBound(float maxVelocity) const = 0;
00061 
00064     virtual void                            addDependentActor(ApexActor* actor) = 0;
00065 };
00066 
00070 class IofxAssetAuthoring : public AssetAuthoring
00071 {
00072 };
00073 
00074 PX_POP_PACK
00075 
00076 }
00077 } // namespace nvidia
00078 
00079 #endif // IOFX_ASSET_H

Generated on Fri Dec 15 2017 13:58:35
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.