blob: 0bcab7d36548c6b2b581c2921f0c896eb3678f4f (
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
|