Cogs.Rendering
Loading...
Searching...
No Matches
Factory.h
Go to the documentation of this file.
1#pragma once
2
3#include "Base.h"
4
5namespace Cogs
6{
11 {
19 static class IGraphicsDevice * createDevice(RenderingAllocatorInfo * allocatorInfo = nullptr);
20
27 static class IGraphicsDevice * createDevice(const StringView& name);
28
37 static class IGraphicsDevice * createDevice(const GraphicsDeviceType & type, RenderingAllocatorInfo * allocatorInfo = nullptr);
38
44 static void releaseDevice(class IGraphicsDevice * device);
45 };
46}
#define COGSRENDERING_DLL_API
Definition: Base.h:20
Represents a graphics device used to manage graphics resources and issue drawing commands.
Definition: IGraphicsDevice.h:169
Definition: Base.h:24
GraphicsDeviceType
Contains types of graphics devices that may be supported.
Definition: Base.h:48
Graphics device construction factory.
Definition: Factory.h:11
Allocation information.
Definition: Base.h:35