D3D11 functions extension for GameMaker
- Set up to 128 vertex and pixel shader samplers. Compatible with
surface_get_texture
andsprite_get_texture
! - Compile vertex and pixel shaders from files.
- Hook into
ID3D11DeviceContext::Draw
calls to swap out used vertex and pixel shaders with custom ones. - Constant buffers.
- Instanced rendering.
Requires CMake 3.23 at least!
cd cpp
mkdir build
cd build
cmake ..
cmake --build . --config=Release
Copy-Item -Path ./Release/GMD3D11.dll -Destination ../../datafiles
- https://github.com/ParinovYT/cVmtHook-x64 - x64 VMT hook
- https://polyhaven.com/a/rubber_duck_toy - model used in instanced rendering example