Header-Only Direct3D 9.0c Loader & Wrapper For C & C++ in clean C
-
REQUIRES HARDFORM.H, DYNALOAD.H
#include "D3D9LDR.H"
wherever you want it in your code, but you'll also need to
#define D3D9LDR_IMPLEMENTATION
before including the header file in one C or C++ file to create the implementation.
// One of your source files should have something that may look like this
#include ...
#include ...
#define D3D9LDR_IMPLEMENTATION
#include "D3D9LDR.H"
For more documentation, check out the header files and the sample code.
That's it! Enjoy implementing your Direct3D 9.0c render pipeline.
Version: 1.0
Platforms supported: Windows.
Has been tested with: VS2017, GCC.