APEX Framework: RenderContext.h Source File

NVIDIA APEX

RenderContext.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 RENDER_CONTEXT_H
00013 #define RENDER_CONTEXT_H
00014 
00020 #include "ApexUsingNamespace.h"
00021 #include "foundation/PxMat44.h"
00022 
00023 namespace nvidia
00024 {
00025 namespace apex
00026 {
00027 
00028 class UserRenderResource;
00029 class UserOpaqueMesh;
00030 
00031 PX_PUSH_PACK_DEFAULT
00032 
00036 class RenderContext
00037 {
00038 public:
00039     RenderContext(void)
00040     {
00041         renderResource = 0;
00042         isScreenSpace = false;
00043         renderMeshName = NULL;
00044     }
00045 
00046 public:
00047     UserRenderResource* renderResource;     
00048     bool                isScreenSpace;      
00049     PxMat44             local2world;        
00050     PxMat44             world2local;        
00051     const char*         renderMeshName;     
00052 };
00053 
00054 PX_POP_PACK
00055 
00056 }
00057 } // end namespace nvidia::apex
00058 
00059 #endif // RENDER_CONTEXT_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.