Saga3D API Documentation  1.0-RC4
Saga.h
Go to the documentation of this file.
1 #ifndef __SAGA_H_INCLUDED__
2 #define __SAGA_H_INCLUDED__
3 
4 #include "SagaConfig.h"
5 #include "aabbox3d.h"
6 #include "CMeshBuffer.h"
7 #include "CGPUMeshBuffer.h"
8 #include "IAnimatedMesh.h"
10 #include "ICameraSceneNode.h"
11 #include "IMesh.h"
12 #include "IMeshBuffer.h"
13 #include "IMeshSceneNode.h"
14 #include "SagaDevice.h"
15 #include "irrMath.h"
16 #include "ISceneManager.h"
17 #include "ISceneNode.h"
18 #include "ISkinnedMesh.h"
19 #include "IVideoDriver.h"
20 #include "SShader.h"
21 #include "SRenderPass.h"
22 #include "SRenderPassState.h"
23 #include "S3DVertex.h"
24 #include "SMesh.h"
25 
91 
92 namespace saga
93 {
95 
112  std::unique_ptr<SagaDevice> createDevice(
114  // parentheses are necessary for some compilers
115  const glm::uvec2& windowSize = {800, 600},
116  std::uint32_t bits = 32,
117  bool fullscreen = false,
118  bool stencilbuffer = true,
119  bool vsync = false
120  );
121 
123 // typedef SagaDevice* (*funcptr_createDevice)(
124 // video::E_DRIVER_TYPE driverType,
125 // const glm::uvec2& windowSize,
126 // std::uint32_t bits,
127 // bool fullscreen,
128 // bool stencilbuffer,
129 // bool vsync
130 // );
131 
133 
140  std::unique_ptr<SagaDevice> createDeviceEx(
141  const SDeviceCreationParameters& parameters);
142 
144  // typedef SagaDevice* (*funcptr_createDeviceEx)(const SDeviceCreationParameters& parameters);
145 
146  // THE FOLLOWING IS AN EMPTY LIST OF ALL SUB NAMESPACES
147  // EXISTING ONLY FOR THE DOCUMENTATION SOFTWARE DOXYGEN.
148 
150  namespace core
151  {
152  }
153 
155  namespace scene
156  {
157  }
158 
160  namespace video
161  {
162  }
163 }
164 
169 #endif // __SAGA_H_INCLUDED__
170 
saga::video::E_DRIVER_TYPE
E_DRIVER_TYPE
An enum class for all types of drivers Saga3D supports.
Definition: EDriverTypes.h:9
ISkinnedMesh.h
IAnimatedMeshSceneNode.h
SRenderPass.h
IVideoDriver.h
IAnimatedMesh.h
saga::createDevice
std::unique_ptr< SagaDevice > createDevice(video::E_DRIVER_TYPE driverType=video::E_DRIVER_TYPE::VULKAN, const glm::uvec2 &windowSize={800, 600}, std::uint32_t bits=32, bool fullscreen=false, bool stencilbuffer=true, bool vsync=false)
Creates an Saga device. The Saga device is the root object for using the engine.
ISceneNode.h
aabbox3d.h
SagaDevice.h
SShader.h
S3DVertex.h
SDeviceCreationParameters.h
irrMath.h
ICameraSceneNode.h
saga::video::E_DRIVER_TYPE::VULKAN
@ VULKAN
Vulkan driver, available on most desktop platforms.
IMeshBuffer.h
CMeshBuffer.h
saga::createDeviceEx
std::unique_ptr< SagaDevice > createDeviceEx(const SDeviceCreationParameters &parameters)
typedef for Function Pointer
IMeshSceneNode.h
IMesh.h
CGPUMeshBuffer.h
ISceneManager.h
SRenderPassState.h
saga
Definition: aabbox3d.h:11
SMesh.h