TurbulenceFSPreview.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 #ifndef TURBULENCE_FSPREVIEW_H 00012 #define TURBULENCE_FSPREVIEW_H 00013 00014 #include "Apex.h" 00015 #include "AssetPreview.h" 00016 00017 namespace nvidia 00018 { 00019 namespace apex 00020 { 00021 00022 PX_PUSH_PACK_DEFAULT 00023 00024 class RenderDebugInterface; 00025 00036 namespace APEX_TURBO 00037 { 00042 static const uint32_t TURBO_DRAW_NOTHING = 0x00; 00047 static const uint32_t TURBO_DRAW_ICON = 0x01; 00052 static const uint32_t TURBO_DRAW_BOX = 0x02; 00058 static const uint32_t TURBO_DRAW_GRIDS = 0x04; 00064 static const uint32_t TURBO_DRAW_ASSET_INFO = 0x20; 00069 static const uint32_t TURBO_DRAW_FULL_DETAIL = (TURBO_DRAW_ICON + TURBO_DRAW_BOX + TURBO_DRAW_GRIDS + TURBO_DRAW_ASSET_INFO); 00070 } 00071 00076 class TurbulenceFSPreview : public AssetPreview 00077 { 00078 public: 00082 virtual void setHalfLengthDimensions(PxVec3 halfLengthDimensions) = 0; 00086 virtual void setNumGrids(PxVec3 numGrids) = 0; 00093 virtual void setIconScale(float scale) = 0; 00108 virtual void setDetailLevel(uint32_t detail) = 0; 00109 }; 00110 00111 00112 PX_POP_PACK 00113 00114 } 00115 } // namespace nvidia 00116 00117 #endif // TURBULENCE_FSPREVIEW_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.