Cogs.Rendering
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Loading...
Searching...
No Matches
Source
Factory.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Base.h
"
4
5
namespace
Cogs
6
{
10
struct
COGSRENDERING_DLL_API
Factory
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
}
Base.h
COGSRENDERING_DLL_API
#define COGSRENDERING_DLL_API
Definition:
Base.h:20
Cogs::IGraphicsDevice
Represents a graphics device used to manage graphics resources and issue drawing commands.
Definition:
IGraphicsDevice.h:169
Cogs
Definition:
Base.h:24
Cogs::GraphicsDeviceType
GraphicsDeviceType
Contains types of graphics devices that may be supported.
Definition:
Base.h:48
Cogs::Factory
Graphics device construction factory.
Definition:
Factory.h:11
Cogs::RenderingAllocatorInfo
Allocation information.
Definition:
Base.h:35
Generated by
1.9.6