LiteFX 0.3.1.2022
Computer Graphics Engine
graphics_api.hpp
1#pragma once
2
3#if !defined (LITEFX_GRAPHICS_API)
4# if defined(LiteFX_Graphics_EXPORTS) && (defined _WIN32 || defined WINCE)
5# define LITEFX_GRAPHICS_API __declspec(dllexport)
6# elif (defined(LiteFX_Graphics_EXPORTS) || defined(__APPLE__)) && defined __GNUC__ && __GNUC__ >= 4
7# define LITEFX_GRAPHICS_API __attribute__ ((visibility ("default")))
8# elif !defined(LiteFX_Graphics_EXPORTS) && (defined _WIN32 || defined WINCE)
9# define LITEFX_GRAPHICS_API __declspec(dllimport)
10# endif
11#endif
12
13#ifndef LITEFX_GRAPHICS_API
14# define LITEFX_GRAPHICS_API
15#endif
16
17#include <litefx/core.h>
18
19namespace LiteFX::Graphics {
20 using namespace LiteFX;
21
22 enum class LITEFX_GRAPHICS_API PrimitiveTopology {
23 PointList = 0x00010001,
24 LineList = 0x00020001,
25 TriangleList = 0x00040001,
26 LineStrip = 0x00020002,
27 TriangleStrip = 0x00040002
28 };
29
30}
Definition: graphics.hpp:7
Definition: app.hpp:6