gz/rendering/GraphicsAPI.hh
Go to the documentation of this file.
Utils to convert GraphicsAPI to and from strings.
Definition: gz/rendering/GraphicsAPI.hh:62
static std::string Str(GraphicsAPI _e)
Convert enum value to string.
static GraphicsAPI Set(const std::string &_str)
Set an enum from a string. This function requires a valid string, and an array of names for the enum ...
@ METAL
GraphicsAPI
The graphics API used by the render engine.
Definition: gz/rendering/GraphicsAPI.hh:33
@ GRAPHICS_API_BEGIN
@ GRAPHICS_API_END