Nebula
Loading...
Searching...
No Matches
adapter.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
12#include "core/types.h"
13#include "util/string.h"
14
15//------------------------------------------------------------------------------
16namespace CoreGraphics
17{
19{
20public:
22 enum Code
23 {
27 };
28
30 static Code FromString(const Util::String& str);
32 static Util::String ToString(Code code);
33};
34
35} // namespace CoreGraphics
36//------------------------------------------------------------------------------
Display adapter enum.
Definition adapter.h:19
static Code FromString(const Util::String &str)
convert adapter code from string
Definition adapter.cc:16
Code
enum
Definition adapter.h:23
@ Secondary
Definition adapter.h:25
@ Primary
Definition adapter.h:24
@ None
Definition adapter.h:26
static Util::String ToString(Code code)
convert adapter code to string
Definition adapter.cc:32
Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.
Definition accelerationstructure.h:24
Nebula's universal string class.
Definition string.h:50