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
//------------------------------------------------------------------------------
16
namespace
CoreGraphics
17
{
18
class
Adapter
19
{
20
public
:
22
enum
Code
23
{
24
Primary
= 0,
25
Secondary
,
26
None
,
27
};
28
30
static
Code
FromString
(
const
Util::String
& str);
32
static
Util::String
ToString
(
Code
code);
33
};
34
35
}
// namespace CoreGraphics
36
//------------------------------------------------------------------------------
CoreGraphics::Adapter
Display adapter enum.
Definition
adapter.h:19
CoreGraphics::Adapter::FromString
static Code FromString(const Util::String &str)
convert adapter code from string
Definition
adapter.cc:16
CoreGraphics::Adapter::Code
Code
enum
Definition
adapter.h:23
CoreGraphics::Adapter::Secondary
@ Secondary
Definition
adapter.h:25
CoreGraphics::Adapter::Primary
@ Primary
Definition
adapter.h:24
CoreGraphics::Adapter::None
@ None
Definition
adapter.h:26
CoreGraphics::Adapter::ToString
static Util::String ToString(Code code)
convert adapter code to string
Definition
adapter.cc:32
CoreGraphics
Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.
Definition
accelerationstructure.h:24
string.h
Util::String
Nebula's universal string class.
Definition
string.h:50
types.h
code
render
coregraphics
adapter.h
Generated on Fri Nov 22 2024 12:50:59 for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.