APEX Destructible Module: DestructibleRenderable.h Source File

NVIDIA APEX

DestructibleRenderable.h
Go to the documentation of this file.
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 DESTRUCTIBLE_RENDERABLE_H
00013 #define DESTRUCTIBLE_RENDERABLE_H
00014 
00015 #include "foundation/Px.h"
00016 #include "ApexInterface.h"
00017 #include "Renderable.h"
00018 #include "ModuleDestructible.h"
00019 
00020 namespace nvidia
00021 {
00022 namespace apex
00023 {
00024 
00025 PX_PUSH_PACK_DEFAULT
00026 
00027 
00031 class DestructibleRenderable : public ApexInterface, public Renderable
00032 {
00033 public:
00037     virtual RenderMeshActor*    getRenderMeshActor(DestructibleActorMeshType::Enum type = DestructibleActorMeshType::Skinned) const = 0;
00038 
00039 protected:
00040     virtual ~DestructibleRenderable() {}
00041 };
00042 
00043 PX_POP_PACK
00044 
00045 }
00046 } // end namespace nvidia
00047 
00048 #endif // DESTRUCTIBLE_RENDERABLE_H

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