yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
f65d756bf
master
1// nvapi-util.h 2#pragma once 3 4#include "slang-com-helper.h" 5#include "slang-com-ptr.h" 6 7namespace gfx 8{ 9 10struct NVAPIUtil 11{ 12/// Set up NVAPI for use. Must be called before any other function is used. 13static SlangResult initialize (); 14/// True if the NVAPI is available, can be called even if initialize fails. 15/// If initialize has not been called will return false 16static bool isAvailable (); 17}; 18 19 20}// namespace gfx