Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blueburncz/GMD3D11
D3D11 functions extension for GameMaker
https://github.com/blueburncz/GMD3D11
d3d11 dll extension gamemaker gamemaker-studio-2
Last synced: 2 months ago
JSON representation
D3D11 functions extension for GameMaker
- Host: GitHub
- URL: https://github.com/blueburncz/GMD3D11
- Owner: blueburncz
- License: mit
- Created: 2022-11-29T21:08:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-09T10:04:18.000Z (8 months ago)
- Last Synced: 2024-08-02T07:08:16.583Z (5 months ago)
- Topics: d3d11, dll, extension, gamemaker, gamemaker-studio-2
- Language: Yacc
- Homepage:
- Size: 1.03 MB
- Stars: 13
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-gamemaker - GMD3D11 - A DLL for interfacing with Windows Direct3D. (Utilities / Recommendations)
README
# GMD3D11
> D3D11 functions extension for GameMaker[![License](https://img.shields.io/github/license/blueburncz/GMD3D11)](LICENSE)
[![Discord](https://img.shields.io/discord/298884075585011713?label=Discord)](https://discord.gg/ep2BGPm)## Features
* Set up to 128 vertex and pixel shader samplers. Compatible with `surface_get_texture` and `sprite_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.## Building the DLL
Requires [CMake](https://cmake.org/) 3.23 at least!```sh
cd cpp
mkdir build
cd build
cmake ..
cmake --build . --config=Release
Copy-Item -Path ./Release/GMD3D11.dll -Destination ../../datafiles
```## Links
* [Documentation](https://blueburn.cz/gmd3d11/docs)## Credits
* https://github.com/ParinovYT/cVmtHook-x64 - x64 VMT hook
* https://polyhaven.com/a/rubber_duck_toy - model used in instanced rendering example