Om
1.0.0
A universal framework for multimedia simulation
|
A class that enumerates the different possible types of GraphicsDevice that may exist. More...
#include <omGraphicsDeviceType.h>
Public Types | |
enum | Enum { OPENGL, DIRECT3D_9, DIRECT3D_10, DIRECT3D_11, DEFAULT, UNDEFINED } |
An enum type which represents the different graphics device types. More... | |
Public Member Functions | |
GraphicsDeviceType (Enum newType) | |
Create a new graphics device type with the specified device type enum value. More... | |
operator Enum () const | |
Convert this graphics device type to an enum value. More... | |
String | toString () const |
Return a string representation of the graphics device type. More... | |
operator String () const | |
Convert this graphics device type into a string representation. More... | |
A class that enumerates the different possible types of GraphicsDevice that may exist.
A GraphicsDevice represents a particular interface to the system's graphics hardware, such as OpenGL or Direct3D. This class indicates the type of interface that a device uses. This allows the user to determine which device to use when rendering graphics on a given system platform.
An enum type which represents the different graphics device types.
|
inline |
Create a new graphics device type with the specified device type enum value.
|
inline |
Convert this graphics device type to an enum value.
String om::graphics::devices::GraphicsDeviceType::toString | ( | ) | const |
Return a string representation of the graphics device type.
|
inline |
Convert this graphics device type into a string representation.