2 #ifdef USE_DIRECTX_RENDERER 3 #include "common/dxstdafx.h" 4 #elif defined(USE_OPENGL_RENDERER) 5 #include "OpenGLWrapper.h" 9 #if (PARA_TARGET_PLATFORM == PARA_PLATFORM_MAC) 10 #include <OpenGL/gl.h> 18 # ifndef _CRT_SECURE_NO_WARNINGS 19 # define _CRT_SECURE_NO_WARNINGS 25 #include "math/ParaMathUtility.h" 26 #ifndef USE_DIRECTX_RENDERER 27 #include "RenderCoreOpenGL.h" 61 #ifdef USE_DIRECTX_RENDERER 63 typedef IDirect3DTexture9 * DeviceTexturePtr_type;
66 #elif defined(USE_OPENGL_RENDERER) 67 typedef GLuint DeviceTexturePtr_type;
71 typedef uint32_t DeviceTexturePtr_type;
77 #include "ParaViewport.h" 78 #include "ParaVertexBuffer.h" 79 #include "RenderDevice.h" different physics engine has different winding order.
Definition: EventBinding.h:32
a very thin wrapper to DirectX device with a portable version of openGL implementation.
Definition: RenderDeviceDirectX.h:10
Standard 3-dimensional vector.
Definition: ParaVector3.h:16
Definition: RenderCore.h:50
vertex element
Definition: VertexDeclarationOpenGL.h:21
Definition: RenderCore.h:34
A linear, 32-bit/component floating point RGBA color.
Definition: ParaColor.h:12