blob: 704f4ede47b702c097e86892e3e4924349b3476e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// nvapi-util.h
#pragma once
#include "../../slang-com-helper.h"
#include "../../slang-com-ptr.h"
namespace gfx {
struct NVAPIUtil
{
/// Set up NVAPI for use. Must be called before any other function is used.
static SlangResult initialize();
/// True if the NVAPI is available, can be called even if initialize fails.
/// If initialize has not been called will return false
static bool isAvailable();
};
} // gfx
|