Giter Club home page Giter Club logo

jai-d3d12's Introduction

jai-d3d12

Custom module with DirectX12 auto-generated bindings.

Included submodules:

  • d3d12 (optional Agility features)
  • dxgi
  • dxc
  • pix

Each submodule is divided into multiple files:

  • {name}.jai - it's an entry point to the submodule. Loads other files, and has symbols which could not be generated automatically.
  • {name}_bindings.jai - auto-generated bindings.
  • {name}_bindings_debug.jai - auto-generated bindings for debug features.
  • {name}_helpers.jai - set of helper functions with jai-friendly interface.

Generating bindings

(Because of compilacted licensing for external codebases I don't include them here)

  • Configure generator parameters in generate.jai:
USE_D3D12_AGILITY :: true;
D3D12_AGILITY_SRC :: "d3d12_agility_src/build/native/";

DXGI          :: true;
D3D12         :: true;
DXC           :: true;
PIX           :: true;
  • Download needed sources. All instructions how to do this and links are in *_src/readme.md.

  • Call jai generate.jai.

  • Configure runtime in module.jai:

USE_DEBUG :: true;
USE_D3D12_AGILITY :: true;
USE_DXC :: true;
  • Copy dlls next to your executable:
    • D3D12Core.dll (for Agility)
    • d3d12SDKLayers.dll (for Agility)
    • dxcompiler.dll (for dxc)
    • dxil.dll (for dxc)
    • WinPixEventRuntime.dll (for pix)

TODO

jai-d3d12's People

Contributors

wgrzelczak avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.